[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(
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?
Archived author: ZaDarkSide • Posted: 2023-04-17T14:52:05.958000+00:00
Original source
are they 100% equivalent?
Archived author: ModoX • Posted: 2023-04-17T14:55:04.986000+00:00
Original source
Its used to achieve the same thing
Archived author: ModoX • Posted: 2023-04-17T14:55:41.622000+00:00
Original source
Checking typeid being kinda "legacy" way to do it
Archived author: ZaDarkSide • Posted: 2023-04-17T14:57:39.070000+00:00
Original source
okay roger that, thx for the info
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
Archived author: StonedCookieGaming • Posted: 2023-04-17T14:59:47.418000+00:00
Original source
ty
Archived author: Crafted • Posted: 2023-04-17T15:00:22.315000+00:00
Original source
but I said to clean then build, not rebuild
Archived author: Crafted • Posted: 2023-04-17T15:00:27.368000+00:00
Original source
nvm
Archived author: ModoX • Posted: 2023-04-17T15:01:06.144000+00:00
Original source
Clean and build is effectively rebuild