Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] what's the difference between these checks `target->GetTypeId() == TYPEID_UNIT` and `target.IsUnit(

[DiscordArchive] what's the difference between these checks `target->GetTypeId() == TYPEID_UNIT` and `target.IsUnit(

[DiscordArchive] what's the difference between these checks `target->GetTypeId() == TYPEID_UNIT` and `target.IsUnit(

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
04-17-2023, 02:51 PM
#1
Archived author: ZaDarkSide • Posted: 2023-04-17T14:51:47.445000+00:00
Original source

what's the difference between these checks `target->GetTypeId() == TYPEID_UNIT` and `target.IsUnit()` do both accomplish the same thing?
rektbyfaith
04-17-2023, 02:51 PM #1

Archived author: ZaDarkSide • Posted: 2023-04-17T14:51:47.445000+00:00
Original source

what's the difference between these checks `target->GetTypeId() == TYPEID_UNIT` and `target.IsUnit()` do both accomplish the same thing?

rektbyfaith
Administrator
0
04-17-2023, 02:52 PM
#2
Archived author: ZaDarkSide • Posted: 2023-04-17T14:52:05.958000+00:00
Original source

are they 100% equivalent?
rektbyfaith
04-17-2023, 02:52 PM #2

Archived author: ZaDarkSide • Posted: 2023-04-17T14:52:05.958000+00:00
Original source

are they 100% equivalent?

rektbyfaith
Administrator
0
04-17-2023, 02:55 PM
#3
Archived author: ModoX • Posted: 2023-04-17T14:55:04.986000+00:00
Original source

Its used to achieve the same thing
rektbyfaith
04-17-2023, 02:55 PM #3

Archived author: ModoX • Posted: 2023-04-17T14:55:04.986000+00:00
Original source

Its used to achieve the same thing

rektbyfaith
Administrator
0
04-17-2023, 02:55 PM
#4
Archived author: ModoX • Posted: 2023-04-17T14:55:41.622000+00:00
Original source

Checking typeid being kinda "legacy" way to do it
rektbyfaith
04-17-2023, 02:55 PM #4

Archived author: ModoX • Posted: 2023-04-17T14:55:41.622000+00:00
Original source

Checking typeid being kinda "legacy" way to do it

rektbyfaith
Administrator
0
04-17-2023, 02:57 PM
#5
Archived author: ZaDarkSide • Posted: 2023-04-17T14:57:39.070000+00:00
Original source

okay roger that, thx for the info
rektbyfaith
04-17-2023, 02:57 PM #5

Archived author: ZaDarkSide • Posted: 2023-04-17T14:57:39.070000+00:00
Original source

okay roger that, thx for the info

rektbyfaith
Administrator
0
04-17-2023, 02:59 PM
#6
Archived author: ModoX • Posted: 2023-04-17T14:59:26.071000+00:00
Original source

<@314101150880366592> rerun cmake and click build, no need to clean or rebuild entirely; msvs does it by itself if required
rektbyfaith
04-17-2023, 02:59 PM #6

Archived author: ModoX • Posted: 2023-04-17T14:59:26.071000+00:00
Original source

<@314101150880366592> rerun cmake and click build, no need to clean or rebuild entirely; msvs does it by itself if required

rektbyfaith
Administrator
0
04-17-2023, 02:59 PM
#7
Archived author: StonedCookieGaming • Posted: 2023-04-17T14:59:47.418000+00:00
Original source

ty
rektbyfaith
04-17-2023, 02:59 PM #7

Archived author: StonedCookieGaming • Posted: 2023-04-17T14:59:47.418000+00:00
Original source

ty

rektbyfaith
Administrator
0
04-17-2023, 03:00 PM
#8
Archived author: Crafted • Posted: 2023-04-17T15:00:22.315000+00:00
Original source

but I said to clean then build, not rebuild
rektbyfaith
04-17-2023, 03:00 PM #8

Archived author: Crafted • Posted: 2023-04-17T15:00:22.315000+00:00
Original source

but I said to clean then build, not rebuild

rektbyfaith
Administrator
0
04-17-2023, 03:00 PM
#9
Archived author: Crafted • Posted: 2023-04-17T15:00:27.368000+00:00
Original source

nvm
rektbyfaith
04-17-2023, 03:00 PM #9

Archived author: Crafted • Posted: 2023-04-17T15:00:27.368000+00:00
Original source

nvm

rektbyfaith
Administrator
0
04-17-2023, 03:01 PM
#10
Archived author: ModoX • Posted: 2023-04-17T15:01:06.144000+00:00
Original source

Clean and build is effectively rebuild
rektbyfaith
04-17-2023, 03:01 PM #10

Archived author: ModoX • Posted: 2023-04-17T15:01:06.144000+00:00
Original source

Clean and build is effectively rebuild

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