Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 464 Bytes

0x2.md

File metadata and controls

23 lines (19 loc) · 464 Bytes

Packet 0x2

Packet corresponds to this client function call:

/**
 *	This function is called to tell us that we may now control the given
 *	entity (or not as the case may be).
 *
 *	@param	id			entity id.
 *	@param	control		true if entity is now controlled, false otherwise.
 */
void EntityManager::onEntityControl( EntityID id, bool control )

And here how it looks like:

struct EntityControlled {
    int32 entityID;
    bool isControlled;
}