Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CCmpOwnership Class Reference

Basic ICmpOwnership implementation. More...

Inheritance diagram for CCmpOwnership:
ICmpOwnership IComponent

Public Member Functions

virtual void Init (const CParamNode &paramNode)
 
virtual void Deinit ()
 
virtual void Serialize (ISerializer &serialize)
 
virtual void Deserialize (const CParamNode &paramNode, IDeserializer &deserialize)
 
virtual void HandleMessage (const CMessage &msg, bool global)
 
virtual player_id_t GetOwner ()
 
virtual void SetOwner (player_id_t playerID)
 
virtual void SetOwnerQuiet (player_id_t playerID)
 
- Public Member Functions inherited from IComponent
virtual ~IComponent ()
 
CEntityHandle GetEntityHandle () const
 
void SetEntityHandle (CEntityHandle ent)
 
entity_id_t GetEntityId () const
 
CEntityHandle GetSystemEntity () const
 
const CSimContextGetSimContext () const
 
void SetSimContext (const CSimContext &context)
 
virtual JSClass * GetJSClass () const
 
virtual jsval GetJSInstance () const
 

Static Public Member Functions

static void ClassInit (CComponentManager &componentManager)
 
static IComponentAllocate (ScriptInterface &, jsval)
 
static void Deallocate (IComponent *cmp)
 
static std::string GetSchema ()
 
- Static Public Member Functions inherited from IComponent
static std::string GetSchema ()
 
static u8 GetSerializationVersion ()
 

Public Attributes

player_id_t m_Owner
 

Detailed Description

Basic ICmpOwnership implementation.

Definition at line 28 of file CCmpOwnership.cpp.

Member Function Documentation

static IComponent* CCmpOwnership::Allocate ( ScriptInterface ,
jsval   
)
inlinestatic

Definition at line 36 of file CCmpOwnership.cpp.

static void CCmpOwnership::ClassInit ( CComponentManager componentManager)
inlinestatic

Definition at line 31 of file CCmpOwnership.cpp.

static void CCmpOwnership::Deallocate ( IComponent cmp)
inlinestatic

Definition at line 36 of file CCmpOwnership.cpp.

virtual void CCmpOwnership::Deinit ( )
inlinevirtual

Implements IComponent.

Definition at line 53 of file CCmpOwnership.cpp.

virtual void CCmpOwnership::Deserialize ( const CParamNode paramNode,
IDeserializer deserialize 
)
inlinevirtual

Implements IComponent.

Definition at line 62 of file CCmpOwnership.cpp.

virtual player_id_t CCmpOwnership::GetOwner ( )
inlinevirtual

Implements ICmpOwnership.

Definition at line 80 of file CCmpOwnership.cpp.

static std::string CCmpOwnership::GetSchema ( )
inlinestatic

Definition at line 40 of file CCmpOwnership.cpp.

virtual void CCmpOwnership::HandleMessage ( const CMessage msg,
bool  global 
)
inlinevirtual

Reimplemented from IComponent.

Definition at line 67 of file CCmpOwnership.cpp.

virtual void CCmpOwnership::Init ( const CParamNode paramNode)
inlinevirtual

Implements IComponent.

Definition at line 48 of file CCmpOwnership.cpp.

virtual void CCmpOwnership::Serialize ( ISerializer serialize)
inlinevirtual

Implements IComponent.

Definition at line 57 of file CCmpOwnership.cpp.

virtual void CCmpOwnership::SetOwner ( player_id_t  playerID)
inlinevirtual

Implements ICmpOwnership.

Definition at line 85 of file CCmpOwnership.cpp.

virtual void CCmpOwnership::SetOwnerQuiet ( player_id_t  playerID)
inlinevirtual

Implements ICmpOwnership.

Definition at line 97 of file CCmpOwnership.cpp.

Member Data Documentation

player_id_t CCmpOwnership::m_Owner

Definition at line 38 of file CCmpOwnership.cpp.


The documentation for this class was generated from the following file: