Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] what version of the game and what emulator are you using?

[DiscordArchive] what version of the game and what emulator are you using?

[DiscordArchive] what version of the game and what emulator are you using?

rektbyfaith
Administrator
0
07-23-2022, 11:23 PM
#1
Archived author: <o> • Posted: 2022-07-23T23:23:05.674000+00:00
Original source

what version of the game and what emulator are you using?
rektbyfaith
07-23-2022, 11:23 PM #1

Archived author: <o> • Posted: 2022-07-23T23:23:05.674000+00:00
Original source

what version of the game and what emulator are you using?

rektbyfaith
Administrator
0
07-23-2022, 11:23 PM
#2
Archived author: Kolonel • Posted: 2022-07-23T23:23:30.183000+00:00
Original source

wotlk 12340
rektbyfaith
07-23-2022, 11:23 PM #2

Archived author: Kolonel • Posted: 2022-07-23T23:23:30.183000+00:00
Original source

wotlk 12340

rektbyfaith
Administrator
0
07-23-2022, 11:24 PM
#3
Archived author: <o> • Posted: 2022-07-23T23:24:22.360000+00:00
Original source

on trinitycore it's `Object::GetTypeId`
rektbyfaith
07-23-2022, 11:24 PM #3

Archived author: <o> • Posted: 2022-07-23T23:24:22.360000+00:00
Original source

on trinitycore it's `Object::GetTypeId`

rektbyfaith
Administrator
0
07-23-2022, 11:24 PM
#4
Archived author: Kolonel • Posted: 2022-07-23T23:24:37.782000+00:00
Original source

ty ty
rektbyfaith
07-23-2022, 11:24 PM #4

Archived author: Kolonel • Posted: 2022-07-23T23:24:37.782000+00:00
Original source

ty ty

rektbyfaith
Administrator
0
07-23-2022, 11:25 PM
#5
Archived author: <o> • Posted: 2022-07-23T23:25:01.931000+00:00
Original source

you also have convenience functions like `IsCreature`, `IsGameObject` etc
rektbyfaith
07-23-2022, 11:25 PM #5

Archived author: <o> • Posted: 2022-07-23T23:25:01.931000+00:00
Original source

you also have convenience functions like `IsCreature`, `IsGameObject` etc

rektbyfaith
Administrator
0
07-23-2022, 11:26 PM
#6
Archived author: <o> • Posted: 2022-07-23T23:26:27.457000+00:00
Original source

a common pattern is to just do

```c++
WorldObject* someInputObj = ...;

if(Creature* creature = dynamic_cast<Creature*>(someInputObj))
{
...
}
```
rektbyfaith
07-23-2022, 11:26 PM #6

Archived author: <o> • Posted: 2022-07-23T23:26:27.457000+00:00
Original source

a common pattern is to just do

```c++
WorldObject* someInputObj = ...;

if(Creature* creature = dynamic_cast<Creature*>(someInputObj))
{
...
}
```

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)