Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

simulation
Class CEntityTemplate

IJSComplex
   |
   +--CJSComplex, IEventTarget, boost::noncopyable
         |
         +--CEntityTemplate

   in EntityTemplate.h
   in EntityTemplate.cpp

class CEntityTemplate
extends CJSComplex, IEventTarget, boost::noncopyable


Inner Classes, Typedefs, and Enums
typedef CEntityTemplate::SoundGroupTable
          
 
Field Summary
 CStrW m_actorName
          
 float m_anchorConformX
          
 float m_anchorConformZ
          
 CStrW m_anchorType
          
 CStr m_barBorder
          
 float m_barBorderSize
          
 float m_barHeight
          
 float m_barOffset
          
 bool m_barsEnabled
          
 float m_barWidth
          
 CEntityTemplate* m_base
          
 CStrW m_Base_Name
          
 CBoundingBox* m_bound_box
          
 CBoundingCircle* m_bound_circle
          
 CBoundingObject::EBoundingType m_bound_type
          
 CStrW m_buildingLimitCategory
          
 CClassSet m_classes
          
 CScriptObject[ EVENT_LAST ] m_EventHandlers
          
 CStrW m_foundation
          
 float m_healthBarHeight
          
 int m_healthBarSize
          
 float m_healthBarWidth
          
 int m_healthBorderHeight
          
 CStr m_healthBorderName
          
 int m_healthBorderWidth
          
 float m_healthDecayRate
          
 float m_healthMax
          
 float m_healthRegenRate
          
 float m_healthRegenStart
          
 bool m_isTerritoryCentre
          
 int m_los
          
 int m_minimapB
          
 int m_minimapG
          
 int m_minimapR
          
 CStrW m_minimapType
          
 bool m_passThroughAllies
          
 int m_pitchDivs
          
 float m_pitchValue
          
 CPlayer* m_player
          
 float m_rallyHeight
          
 CStr m_rallyName
          
 float m_rallyWidth
          
 float m_rankHeight
          
 CStr m_rankName
          
 float m_rankWidth
          
 float m_runDecayRate
          
 float m_runMaxRange
          
 float m_runMinRange
          
 float m_runRegenRate
          
 float m_runSpeed
          
 int m_sectorDivs
          
 CStrW m_socket
          
 CEntityTemplate::SoundGroupTable m_SoundGroupTable
          
 float m_speed
          
 float m_staminaBarHeight
          
 int m_staminaBarSize
          
 float m_staminaBarWidth
          
 int m_staminaBorderHeight
          
 CStr m_staminaBorderName
          
 int m_staminaBorderWidth
          
 float m_staminaMax
          
 CStr m_stanceName
          
 CStrW m_Tag
          
 CStrW m_territoryRestriction
          
 float m_turningRadius
          
 CEntityTemplate* m_unmodified
          
 bool m_visionPermanent
          
private static STL_HASH_SET< CStr, CStr_hash_compare > scriptsLoaded
          
   
Fields inherited from class CJSComplex
CJSComplexPropertyAccessor, m_JS, m_Watches, m_Reflectors, JSI_props, m_Methods, m_IntrinsicProperties, JSI_class, m_EngineOwned
   
Fields inherited from class IJSComplex
m_Properties, m_Parent, m_Inheritors
 
Constructor Summary
CEntityTemplate( CPlayer* player )
          
~CEntityTemplate()
          
 
Method Summary
 jsval GetClassSet()
          
 JSObject* GetScriptExecContext( IEventTarget* target )
          
 void LoadBase()
          
 bool LoadXml( const CStr& filename )
          
 void RebuildClassSet()
          
 static void ScriptingInit()
          
 void SetClassSet( jsval value )
          
 CStr ToString( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) )
          
 void XMLLoadProperty( const CXeromyces& XeroFile, const XMBElement& Source, const CStrW& BasePropertyName )
          
   
Methods inherited from class CJSComplex
GetProperty, SetProperty, WatchNotify, JSGetProperty, JSSetProperty, JSEnumerate, SetWatchAll, UnWatchAll, ScriptingInit, ScriptingShutdown, DefaultFinalize, CreateScriptObject, ReleaseScriptObject, GetScript, Shutdown, SetBase, Rebuild, HasProperty, FillEnumerateSet, AddProperty, AddProperty, AddClassProperty, AddMethod, AddClassProperty, AddReadOnlyClassProperty, AddProperty, AddReadOnlyProperty, DeletePreviouslyAssignedProperty
   
Methods inherited from class IEventTarget
DispatchEvent, AddHandler, AddHandler, RemoveHandler, RemoveHandler, AddHandlerJS, RemoveHandlerJS, SetPriorObject, SetNextObject, GetScriptExecContext
   
Methods inherited from class IJSComplex
SetBase, Rebuild, RebuildClassSet, HasProperty, FillEnumerateSet, GetProperty, AddProperty, AddProperty
 

Field Detail

m_actorName

public CStrW m_actorName;

m_anchorConformX

public float m_anchorConformX;

m_anchorConformZ

public float m_anchorConformZ;

m_anchorType

public CStrW m_anchorType;

m_barBorder

public CStr m_barBorder;

m_barBorderSize

public float m_barBorderSize;

m_barHeight

public float m_barHeight;

m_barOffset

public float m_barOffset;

m_barsEnabled

public bool m_barsEnabled;

m_barWidth

public float m_barWidth;

m_base

public CEntityTemplate* m_base;

m_Base_Name

public CStrW m_Base_Name;

m_bound_box

public CBoundingBox* m_bound_box;

m_bound_circle

public CBoundingCircle* m_bound_circle;

m_bound_type

public CBoundingObject::EBoundingType m_bound_type;

m_buildingLimitCategory

public CStrW m_buildingLimitCategory;

m_classes

public CClassSet m_classes;

m_EventHandlers

public CScriptObject m_EventHandlers[ EVENT_LAST ];

m_foundation

public CStrW m_foundation;

m_healthBarHeight

public float m_healthBarHeight;

m_healthBarSize

public int m_healthBarSize;

m_healthBarWidth

public float m_healthBarWidth;

m_healthBorderHeight

public int m_healthBorderHeight;

m_healthBorderName

public CStr m_healthBorderName;

m_healthBorderWidth

public int m_healthBorderWidth;

m_healthDecayRate

public float m_healthDecayRate;

m_healthMax

public float m_healthMax;

m_healthRegenRate

public float m_healthRegenRate;

m_healthRegenStart

public float m_healthRegenStart;

m_isTerritoryCentre

public bool m_isTerritoryCentre;

m_los

public int m_los;

m_minimapB

public int m_minimapB;

m_minimapG

public int m_minimapG;

m_minimapR

public int m_minimapR;

m_minimapType

public CStrW m_minimapType;

m_passThroughAllies

public bool m_passThroughAllies;

m_pitchDivs

public int m_pitchDivs;

m_pitchValue

public float m_pitchValue;

m_player

public CPlayer* m_player;

m_rallyHeight

public float m_rallyHeight;

m_rallyName

public CStr m_rallyName;

m_rallyWidth

public float m_rallyWidth;

m_rankHeight

public float m_rankHeight;

m_rankName

public CStr m_rankName;

m_rankWidth

public float m_rankWidth;

m_runDecayRate

public float m_runDecayRate;

m_runMaxRange

public float m_runMaxRange;

m_runMinRange

public float m_runMinRange;

m_runRegenRate

public float m_runRegenRate;

m_runSpeed

public float m_runSpeed;

m_sectorDivs

public int m_sectorDivs;

m_socket

public CStrW m_socket;

m_SoundGroupTable

public CEntityTemplate::SoundGroupTable m_SoundGroupTable;

m_speed

public float m_speed;

m_staminaBarHeight

public float m_staminaBarHeight;

m_staminaBarSize

public int m_staminaBarSize;

m_staminaBarWidth

public float m_staminaBarWidth;

m_staminaBorderHeight

public int m_staminaBorderHeight;

m_staminaBorderName

public CStr m_staminaBorderName;

m_staminaBorderWidth

public int m_staminaBorderWidth;

m_staminaMax

public float m_staminaMax;

m_stanceName

public CStr m_stanceName;

m_Tag

public CStrW m_Tag;

m_territoryRestriction

public CStrW m_territoryRestriction;

m_turningRadius

public float m_turningRadius;

m_unmodified

public CEntityTemplate* m_unmodified;

m_visionPermanent

public bool m_visionPermanent;

scriptsLoaded

private static STL_HASH_SET< CStr, CStr_hash_compare > scriptsLoaded;


Constructor Detail

CEntityTemplate

public CEntityTemplate( CPlayer* player );

~CEntityTemplate

public ~CEntityTemplate();


Method Detail

GetClassSet

public jsval GetClassSet();

GetScriptExecContext

public JSObject* GetScriptExecContext( IEventTarget* target );

LoadBase

public void LoadBase();

LoadXml

public bool LoadXml( const CStr& filename );

RebuildClassSet

public void RebuildClassSet();

ScriptingInit

public static void ScriptingInit();

SetClassSet

public void SetClassSet( jsval value );

ToString

public CStr ToString( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) );

XMLLoadProperty

public void XMLLoadProperty( const CXeromyces& XeroFile, const XMBElement& Source, const CStrW& BasePropertyName );

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD