Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] static_cast<const Unit*>(this) are you sure that's correct ?

[DiscordArchive] static_cast<const Unit*>(this) are you sure that's correct ?

[DiscordArchive] static_cast<const Unit*>(this) are you sure that's correct ?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
01-24-2023, 08:48 PM
#1
Archived author: jackpoz • Posted: 2023-01-24T20:48:11.778000+00:00
Original source

static_cast<const Unit*>(this) are you sure that's correct ?
rektbyfaith
01-24-2023, 08:48 PM #1

Archived author: jackpoz • Posted: 2023-01-24T20:48:11.778000+00:00
Original source

static_cast<const Unit*>(this) are you sure that's correct ?

rektbyfaith
Administrator
0
01-24-2023, 08:56 PM
#2
Archived author: jackpoz • Posted: 2023-01-24T20:56:25.491000+00:00
Original source

UNIT_FIELD_MAXHEALTH = OBJECT_END + 0x001A, // Size: 1, Type: INT, Flags: PUBLIC
rektbyfaith
01-24-2023, 08:56 PM #2

Archived author: jackpoz • Posted: 2023-01-24T20:56:25.491000+00:00
Original source

UNIT_FIELD_MAXHEALTH = OBJECT_END + 0x001A, // Size: 1, Type: INT, Flags: PUBLIC

rektbyfaith
Administrator
0
01-24-2023, 08:56 PM
#3
Archived author: jackpoz • Posted: 2023-01-24T20:56:43.174000+00:00
Original source

CORPSE_FIELD_GUILD = OBJECT_END + 0x001A, // Size: 1, Type: INT, Flags: PUBLIC
rektbyfaith
01-24-2023, 08:56 PM #3

Archived author: jackpoz • Posted: 2023-01-24T20:56:43.174000+00:00
Original source

CORPSE_FIELD_GUILD = OBJECT_END + 0x001A, // Size: 1, Type: INT, Flags: PUBLIC

rektbyfaith
Administrator
0
01-24-2023, 08:56 PM
#4
Archived author: jackpoz • Posted: 2023-01-24T20:56:58.043000+00:00
Original source

I don't think that code is correct
rektbyfaith
01-24-2023, 08:56 PM #4

Archived author: jackpoz • Posted: 2023-01-24T20:56:58.043000+00:00
Original source

I don't think that code is correct

rektbyfaith
Administrator
0
01-24-2023, 08:58 PM
#5
Archived author: CyberMist2 • Posted: 2023-01-24T20:58:13.357000+00:00
Original source

How to do it correctly please
rektbyfaith
01-24-2023, 08:58 PM #5

Archived author: CyberMist2 • Posted: 2023-01-24T20:58:13.357000+00:00
Original source

How to do it correctly please

rektbyfaith
Administrator
0
01-24-2023, 09:00 PM
#6
Archived author: CyberMist2 • Posted: 2023-01-24T21:00:06.495000+00:00
Original source

Would be nice if we have this setting on tc
rektbyfaith
01-24-2023, 09:00 PM #6

Archived author: CyberMist2 • Posted: 2023-01-24T21:00:06.495000+00:00
Original source

Would be nice if we have this setting on tc

rektbyfaith
Administrator
0
01-24-2023, 09:01 PM
#7
Archived author: jackpoz • Posted: 2023-01-24T21:01:01.201000+00:00
Original source

well you shouldn't do a static_cast without being sure that the object is of that type
rektbyfaith
01-24-2023, 09:01 PM #7

Archived author: jackpoz • Posted: 2023-01-24T21:01:01.201000+00:00
Original source

well you shouldn't do a static_cast without being sure that the object is of that type

rektbyfaith
Administrator
0
01-24-2023, 09:01 PM
#8
Archived author: jackpoz • Posted: 2023-01-24T21:01:52.869000+00:00
Original source

also where is the code of IsFogOfWarVisibleHealth ?
rektbyfaith
01-24-2023, 09:01 PM #8

Archived author: jackpoz • Posted: 2023-01-24T21:01:52.869000+00:00
Original source

also where is the code of IsFogOfWarVisibleHealth ?

rektbyfaith
Administrator
0
01-24-2023, 09:02 PM
#9
Archived author: jackpoz • Posted: 2023-01-24T21:02:08.212000+00:00
Original source

better to fork TC, create a branch and share the branch with the changes
rektbyfaith
01-24-2023, 09:02 PM #9

Archived author: jackpoz • Posted: 2023-01-24T21:02:08.212000+00:00
Original source

better to fork TC, create a branch and share the branch with the changes

rektbyfaith
Administrator
0
01-24-2023, 09:03 PM
#10
Archived author: CyberMist2 • Posted: 2023-01-24T21:03:16.487000+00:00
Original source

Its a new function in unit.cpp, it's reading a bolean like if its enabled in worldserver.conf sorry im on phone and closed my laptop ^^ so i cant copy paste from here
rektbyfaith
01-24-2023, 09:03 PM #10

Archived author: CyberMist2 • Posted: 2023-01-24T21:03:16.487000+00:00
Original source

Its a new function in unit.cpp, it's reading a bolean like if its enabled in worldserver.conf sorry im on phone and closed my laptop ^^ so i cant copy paste from here

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