Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] what kind of list should I use to accomplish that?

[DiscordArchive] what kind of list should I use to accomplish that?

[DiscordArchive] what kind of list should I use to accomplish that?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
04-28-2019, 11:12 AM
#1
Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:12:50.969000+00:00
Original source

what kind of list should I use to accomplish that?
rektbyfaith
04-28-2019, 11:12 AM #1

Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:12:50.969000+00:00
Original source

what kind of list should I use to accomplish that?

rektbyfaith
Administrator
0
04-28-2019, 11:14 AM
#2
Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:14:25.232000+00:00
Original source

after that I can check the player with `sObjectMgr->GetPlayerByLowGUID`, right?
rektbyfaith
04-28-2019, 11:14 AM #2

Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:14:25.232000+00:00
Original source

after that I can check the player with `sObjectMgr->GetPlayerByLowGUID`, right?

rektbyfaith
Administrator
0
04-28-2019, 11:17 AM
#3
Archived author: Elliot • Posted: 2019-04-28T11:17:41.855000+00:00
Original source

You save it using: queue.push_back(player.getGUID())
rektbyfaith
04-28-2019, 11:17 AM #3

Archived author: Elliot • Posted: 2019-04-28T11:17:41.855000+00:00
Original source

You save it using: queue.push_back(player.getGUID())

rektbyfaith
Administrator
0
04-28-2019, 11:18 AM
#4
Archived author: Elliot • Posted: 2019-04-28T11:18:02.870000+00:00
Original source

and retrieve them using: ObjectAccessor::GetPlayer(...)
rektbyfaith
04-28-2019, 11:18 AM #4

Archived author: Elliot • Posted: 2019-04-28T11:18:02.870000+00:00
Original source

and retrieve them using: ObjectAccessor::GetPlayer(...)

rektbyfaith
Administrator
0
04-28-2019, 11:18 AM
#5
Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:18:23.489000+00:00
Original source

yes but my std::list is type <Player*>
rektbyfaith
04-28-2019, 11:18 AM #5

Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:18:23.489000+00:00
Original source

yes but my std::list is type <Player*>

rektbyfaith
Administrator
0
04-28-2019, 11:18 AM
#6
Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:18:34.380000+00:00
Original source

what list is more proper to store guides?
rektbyfaith
04-28-2019, 11:18 AM #6

Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:18:34.380000+00:00
Original source

what list is more proper to store guides?

rektbyfaith
Administrator
0
04-28-2019, 11:18 AM
#7
Archived author: Elliot • Posted: 2019-04-28T11:18:52.129000+00:00
Original source

change it to std::list<ObjectGUID> or <uint64>
rektbyfaith
04-28-2019, 11:18 AM #7

Archived author: Elliot • Posted: 2019-04-28T11:18:52.129000+00:00
Original source

change it to std::list<ObjectGUID> or <uint64>

rektbyfaith
Administrator
0
04-28-2019, 11:19 AM
#8
Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:19:05.931000+00:00
Original source

hmm okay, thanks ^^
rektbyfaith
04-28-2019, 11:19 AM #8

Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:19:05.931000+00:00
Original source

hmm okay, thanks ^^

rektbyfaith
Administrator
0
04-28-2019, 11:19 AM
#9
Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:19:16.079000+00:00
Original source

will do it once I finish my coffee
rektbyfaith
04-28-2019, 11:19 AM #9

Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:19:16.079000+00:00
Original source

will do it once I finish my coffee

rektbyfaith
Administrator
0
04-28-2019, 11:43 AM
#10
Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:43:37.921000+00:00
Original source

should I use
```cpp
Player* player = ObjectAccessor::FindPlayer(*itr)
```
or
```cpp
Player* player = ObjectAccessor::GetPlayer(creature->GetMap(), *itr)
```
rektbyfaith
04-28-2019, 11:43 AM #10

Archived author: MR.MUSTACHE • Posted: 2019-04-28T11:43:37.921000+00:00
Original source

should I use
```cpp
Player* player = ObjectAccessor::FindPlayer(*itr)
```
or
```cpp
Player* player = ObjectAccessor::GetPlayer(creature->GetMap(), *itr)
```

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)