20.03.2017, 03:29
Can you have two or more enums with the same const name without any unwanted effects?
or
Would it be better to prefix them with something?
example:
or
Would it be better to prefix them with something?
example:
Код:
enum e_MyEnum
{
e_First,
e_Test
}
new EnumTest[MAX_PLAYERS][e_MyEnum];
enum e_SecondEnum
{
e_Test,
e_Another
}
new AnotherEnum[MAX_PLAYERS][e_SecondEnum];
EnumTest[0][e_Test] = AnotherEnum[0][e_Test];

