18.06.2013, 14:31
You want something like this:
but you cant,
B_Enum[0][we][MyID][0] = 5;
will be a 4-D array and you can have at max 3d arrays.
is valid.
Code:
enum IDs_Enum // The enum I'd like to duplicate { MyID, YourID, OtherGuysID } enum Base_Enum { we[IDs_Enum][5], // Duplicating the enum 5 times per each Base_Enum instance OtherData, MoreData } new B_Enum[15][Base_Enum];
B_Enum[0][we][MyID][0] = 5;
will be a 4-D array and you can have at max 3d arrays.
Code:
enum Base_Enum { we[IDs_Enum], // Duplicating the enum 5 times per each Base_Enum instance OtherData, MoreData }