Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] <@!402557126544982050> what about `enum EnumType : uint32` ?

[DiscordArchive] <@!402557126544982050> what about `enum EnumType : uint32` ?

[DiscordArchive] <@!402557126544982050> what about `enum EnumType : uint32` ?

rektbyfaith
Administrator
0
03-17-2021, 05:45 PM
#1
Archived author: Shin • Posted: 2021-03-17T17:45:07.338000+00:00
Original source

<@!402557126544982050> what about `enum EnumType : uint32` ?
rektbyfaith
03-17-2021, 05:45 PM #1

Archived author: Shin • Posted: 2021-03-17T17:45:07.338000+00:00
Original source

<@!402557126544982050> what about `enum EnumType : uint32` ?

rektbyfaith
Administrator
0
03-17-2021, 05:45 PM
#2
Archived author: Claudiodfc • Posted: 2021-03-17T17:45:30.621000+00:00
Original source

let me see
rektbyfaith
03-17-2021, 05:45 PM #2

Archived author: Claudiodfc • Posted: 2021-03-17T17:45:30.621000+00:00
Original source

let me see

rektbyfaith
Administrator
0
03-17-2021, 06:04 PM
#3
Archived author: Claudiodfc • Posted: 2021-03-17T18:04:23.319000+00:00
Original source

The enum is still unscopped
rektbyfaith
03-17-2021, 06:04 PM #3

Archived author: Claudiodfc • Posted: 2021-03-17T18:04:23.319000+00:00
Original source

The enum is still unscopped

rektbyfaith
Administrator
0
03-17-2021, 06:04 PM
#4
Archived author: Claudiodfc • Posted: 2021-03-17T18:04:34.667000+00:00
Original source

This is from Bjarne Stroutstrup's book: "‘Plain enums,’’ for which the enumerator names are in the same scope as the enum and
their values implicitly convert to integers"
rektbyfaith
03-17-2021, 06:04 PM #4

Archived author: Claudiodfc • Posted: 2021-03-17T18:04:34.667000+00:00
Original source

This is from Bjarne Stroutstrup's book: "‘Plain enums,’’ for which the enumerator names are in the same scope as the enum and
their values implicitly convert to integers"

rektbyfaith
Administrator
0
03-17-2021, 06:05 PM
#5
Archived author: Claudiodfc • Posted: 2021-03-17T18:05:22.223000+00:00
Original source

Which means that these global scopped names will be giving warnings that can lead to "surprises"
rektbyfaith
03-17-2021, 06:05 PM #5

Archived author: Claudiodfc • Posted: 2021-03-17T18:05:22.223000+00:00
Original source

Which means that these global scopped names will be giving warnings that can lead to "surprises"

rektbyfaith
Administrator
0
03-17-2021, 06:05 PM
#6
Archived author: Claudiodfc • Posted: 2021-03-17T18:05:43.470000+00:00
Original source

One solution for bosses is just create a Smart Boss AI and ditch the hardcoded bosses
rektbyfaith
03-17-2021, 06:05 PM #6

Archived author: Claudiodfc • Posted: 2021-03-17T18:05:43.470000+00:00
Original source

One solution for bosses is just create a Smart Boss AI and ditch the hardcoded bosses

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