-
Notifications
You must be signed in to change notification settings - Fork 2
DataTypes: LWOOBJID.hpp
Alanzote edited this page Dec 25, 2018
·
1 revision
Each Object in LEGO Universe (from items, npcs, players, etc) requires an unique object id (unsigned long long), this ID is used to identify the items in the packets.
The Category enum is used to identify the type of this object id:
STATICLOCALGLOBALSPAWNED
- No Parameters
- Creates an empty LWOOBJID.
-
unsigned long long- Creates a LWOOBJID with specified data.
- printData
- Return Type:
void - Comment: Prints the data of this LWOOBJID, alongside the category.
- Return Type:
- getFlags
- Return Type:
char - Comment: Returns the flags of this LWOOBJID.
- Return Type:
- getPureID
- Return Type:
unsigned long long - Comment: Returns the Pure ID of this LWOOBJID.
- Return Type:
- getCategory
- Return Type:
CATEGORY - Comment: Returns this LWOOBJID's category, generated from flags.
- Return Type:
The LWOOBJID has the unsigned long long operator, that transforms this class into an unsigned long long, ready to be written to a packet. Other operators are =, effectively setting the data to an unsigned long long.
- Home
- Common
- Data Types
- Enums
- Entity
- Components
- Interface
- GameObject.hpp
- Components
- File Types
- Game Cache
- Interface
- BehaviorParameter.hpp