enum VAULTCPP(class) Type VAULTCPP(: uint8_t) { ID_REFERENCE = 0x01, ID_OBJECT = ID_REFERENCE << 1, ID_ITEM = ID_OBJECT << 1, ID_CONTAINER = ID_ITEM << 1, ID_ACTOR = ID_CONTAINER << 1, ID_PLAYER = ID_ACTOR << 1, ALL_OBJECTS = (ID_OBJECT | ID_ITEM | ID_CONTAINER | ID_ACTOR | ID_PLAYER), ALL_CONTAINERS = (ID_CONTAINER | ID_ACTOR | ID_PLAYER), ALL_ACTORS = (ID_ACTOR | ID_PLAYER), };
typedef uint8_t Type;
const Type: { ID_REFERENCE = 0x01, ID_OBJECT = ID_REFERENCE << ID_REFERENCE, ID_ITEM = ID_OBJECT << ID_REFERENCE, ID_CONTAINER = ID_ITEM << ID_REFERENCE, ID_ACTOR = ID_CONTAINER << ID_REFERENCE, ID_PLAYER = ID_ACTOR << ID_REFERENCE, ALL_OBJECTS = (ID_OBJECT | ID_ITEM | ID_CONTAINER | ID_ACTOR | ID_PLAYER), ALL_CONTAINERS = (ID_CONTAINER | ID_ACTOR | ID_PLAYER), ALL_ACTORS = (ID_ACTOR | ID_PLAYER), }
Created by Last edited by , 04-28-2013 at 01:50 AM 0 Comments, 2,115 Views |
, 04-26-2012 at 09:21 PM