Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Do you see what that code is doing ?

[DiscordArchive] Do you see what that code is doing ?

[DiscordArchive] Do you see what that code is doing ?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
04-30-2023, 07:09 PM
#21
Archived author: LaHonder • Posted: 2023-04-30T19:09:26.646000+00:00
Original source

// Called when a player logs in.
virtual void OnLogin(Player* /*player*/, bool /*firstLogin*/) { }
rektbyfaith
04-30-2023, 07:09 PM #21

Archived author: LaHonder • Posted: 2023-04-30T19:09:26.646000+00:00
Original source

// Called when a player logs in.
virtual void OnLogin(Player* /*player*/, bool /*firstLogin*/) { }

rektbyfaith
Administrator
0
04-30-2023, 07:10 PM
#22
Archived author: jackpoz • Posted: 2023-04-30T19:10:32.564000+00:00
Original source

Isn't firstLogin exactly what you need ?
rektbyfaith
04-30-2023, 07:10 PM #22

Archived author: jackpoz • Posted: 2023-04-30T19:10:32.564000+00:00
Original source

Isn't firstLogin exactly what you need ?

rektbyfaith
Administrator
0
04-30-2023, 07:10 PM
#23
Archived author: LaHonder • Posted: 2023-04-30T19:10:52.526000+00:00
Original source

then it should this
```cpp
void OnLogin(Player* player, bool firstLogin) override
{
if (firstLogin)
player->SetInGuild(1),
player->SetRank(0);
}
```
rektbyfaith
04-30-2023, 07:10 PM #23

Archived author: LaHonder • Posted: 2023-04-30T19:10:52.526000+00:00
Original source

then it should this
```cpp
void OnLogin(Player* player, bool firstLogin) override
{
if (firstLogin)
player->SetInGuild(1),
player->SetRank(0);
}
```

rektbyfaith
Administrator
0
04-30-2023, 07:11 PM
#24
Archived author: jackpoz • Posted: 2023-04-30T19:11:26.348000+00:00
Original source

Almost, that is not correct C++ code
rektbyfaith
04-30-2023, 07:11 PM #24

Archived author: jackpoz • Posted: 2023-04-30T19:11:26.348000+00:00
Original source

Almost, that is not correct C++ code

rektbyfaith
Administrator
0
04-30-2023, 07:11 PM
#25
Archived author: LaHonder • Posted: 2023-04-30T19:11:43.776000+00:00
Original source

okay, what i do miss here
rektbyfaith
04-30-2023, 07:11 PM #25

Archived author: LaHonder • Posted: 2023-04-30T19:11:43.776000+00:00
Original source

okay, what i do miss here

rektbyfaith
Administrator
0
04-30-2023, 07:11 PM
#26
Archived author: jackpoz • Posted: 2023-04-30T19:11:52.552000+00:00
Original source

You don't really write commas between statements
rektbyfaith
04-30-2023, 07:11 PM #26

Archived author: jackpoz • Posted: 2023-04-30T19:11:52.552000+00:00
Original source

You don't really write commas between statements

rektbyfaith
Administrator
0
04-30-2023, 07:12 PM
#27
Archived author: LaHonder • Posted: 2023-04-30T19:12:05.018000+00:00
Original source

ahhh understand
rektbyfaith
04-30-2023, 07:12 PM #27

Archived author: LaHonder • Posted: 2023-04-30T19:12:05.018000+00:00
Original source

ahhh understand

rektbyfaith
Administrator
0
04-30-2023, 07:12 PM
#28
Archived author: jackpoz • Posted: 2023-04-30T19:12:20.144000+00:00
Original source

Do you usually code in another language than C++ ?
rektbyfaith
04-30-2023, 07:12 PM #28

Archived author: jackpoz • Posted: 2023-04-30T19:12:20.144000+00:00
Original source

Do you usually code in another language than C++ ?

rektbyfaith
Administrator
0
04-30-2023, 07:12 PM
#29
Archived author: LaHonder • Posted: 2023-04-30T19:12:58.833000+00:00
Original source

no and will not and will not having someone who writes (Learn c++) ... learning by doing
rektbyfaith
04-30-2023, 07:12 PM #29

Archived author: LaHonder • Posted: 2023-04-30T19:12:58.833000+00:00
Original source

no and will not and will not having someone who writes (Learn c++) ... learning by doing

rektbyfaith
Administrator
0
04-30-2023, 07:13 PM
#30
Archived author: LaHonder • Posted: 2023-04-30T19:13:31.499000+00:00
Original source

can read and uderstand code that is enougth i need to know other comes with time
rektbyfaith
04-30-2023, 07:13 PM #30

Archived author: LaHonder • Posted: 2023-04-30T19:13:31.499000+00:00
Original source

can read and uderstand code that is enougth i need to know other comes with time

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)