Pyrogenesis
13997
|
Public Member Functions | |
virtual void | Init (const CParamNode ¶mNode) |
virtual void | Deinit () |
virtual void | Serialize (ISerializer &serialize) |
virtual void | Deserialize (const CParamNode ¶mNode, IDeserializer &deserialize) |
virtual void | PushLocalCommand (player_id_t player, CScriptVal cmd) |
Pushes a new command onto the local queue. More... | |
virtual void | PostNetworkCommand (CScriptVal cmd) |
Send a command associated with the current player to the networking system. More... | |
virtual void | FlushTurn (const std::vector< SimulationCommand > &commands) |
Calls the ProcessCommand(player, cmd) global script function for each command in the local queue and in commands , and empties the local queue. More... | |
![]() | |
virtual | ~IComponent () |
virtual void | HandleMessage (const CMessage &msg, bool global) |
CEntityHandle | GetEntityHandle () const |
void | SetEntityHandle (CEntityHandle ent) |
entity_id_t | GetEntityId () const |
CEntityHandle | GetSystemEntity () const |
const CSimContext & | GetSimContext () const |
void | SetSimContext (const CSimContext &context) |
virtual JSClass * | GetJSClass () const |
virtual jsval | GetJSInstance () const |
Static Public Member Functions | |
static void | ClassInit (CComponentManager &componentManager) |
static IComponent * | Allocate (ScriptInterface &, jsval) |
static void | Deallocate (IComponent *cmp) |
static std::string | GetSchema () |
![]() | |
static std::string | GetSchema () |
static u8 | GetSerializationVersion () |
Public Attributes | |
std::vector< SimulationCommand > | m_LocalQueue |
Definition at line 27 of file CCmpCommandQueue.cpp.
|
inlinestatic |
Definition at line 34 of file CCmpCommandQueue.cpp.
|
inlinestatic |
Definition at line 30 of file CCmpCommandQueue.cpp.
|
inlinestatic |
Definition at line 34 of file CCmpCommandQueue.cpp.
|
inlinevirtual |
Implements IComponent.
Definition at line 47 of file CCmpCommandQueue.cpp.
|
inlinevirtual |
Implements IComponent.
Definition at line 61 of file CCmpCommandQueue.cpp.
|
inlinevirtual |
Calls the ProcessCommand(player, cmd) global script function for each command in the local queue and in commands
, and empties the local queue.
Implements ICmpCommandQueue.
Definition at line 96 of file CCmpCommandQueue.cpp.
|
inlinestatic |
Definition at line 38 of file CCmpCommandQueue.cpp.
|
inlinevirtual |
Implements IComponent.
Definition at line 43 of file CCmpCommandQueue.cpp.
|
inlinevirtual |
Send a command associated with the current player to the networking system.
Implements ICmpCommandQueue.
Definition at line 84 of file CCmpCommandQueue.cpp.
|
inlinevirtual |
Pushes a new command onto the local queue.
cmd
does not need to be rooted.
Implements ICmpCommandQueue.
Definition at line 76 of file CCmpCommandQueue.cpp.
|
inlinevirtual |
Implements IComponent.
Definition at line 51 of file CCmpCommandQueue.cpp.
std::vector<SimulationCommand> CCmpCommandQueue::m_LocalQueue |
Definition at line 36 of file CCmpCommandQueue.cpp.