Property | Type | Description | |
---|---|---|---|
IndexNone | int |
Property | Type | Description | |
---|---|---|---|
_renderEntity | |||
_renderModel | |||
_renderView |
Method | Description | |
---|---|---|
ActivatePhysics ( |
Activate the physics object.
|
|
AddContactEntity ( |
||
AddDamageEffect ( object collision, Vector3 velocity, string damageDefName ) : void | ||
AddForce ( |
||
ApplyImpulse ( |
||
BecomeActive ( EntityThinkFlags flags ) : void | ||
BecomeInactive ( EntityThinkFlags flags ) : void | ||
ClientPredictionThink ( ) : void | ||
ClientReceiveEvent ( int ev, int time, idBitMsg msg ) : bool | ||
Collide ( object collision, Vector3 velocity ) : bool | ||
ConstructScriptObject ( ) : idThread |
Called during idEntity::Spawn. Calls the constructor on the script object.
|
|
Damage ( |
|
|
DamageFeedback ( |
Callback function for when another entity received damage from this entity. damage can be adjusted and returned to the caller.
|
|
Dispose ( ) : void | ||
FreeModelDef ( ) : void | ||
GetImpactInfo ( |
||
GetMasterPosition ( Vector3 &masterOrigin, Matrix &masterAxis ) : bool | ||
GetPhysicsToSoundTransform ( Vector3 &origin, Matrix &axis ) : bool | ||
GetPhysicsToVisualTransform ( Vector3 &origin, Matrix &axis ) : bool | ||
HandleSingleGuiCommand ( |
||
Hide ( ) : void | ||
Pain ( |
Called whenever an entity recieves damage. Returns whether the entity responds to the pain.
|
|
Present ( ) : void |
Present is called to allow entities to generate refEntities, lights, etc for the renderer.
|
|
ProjectOverlay ( Vector3 origin, Vector3 direction, float size, string material ) : void | ||
ReadFromSnapshot ( idBitMsgDelta msg ) : void | ||
RemoveContactEntity ( |
||
Restore ( object savefile ) : void | ||
Save ( object savefile ) : void | ||
ServerReceiveEvent ( int ev, int time, idBitMsg msg ) : bool | ||
Show ( ) : void | ||
Spawn ( ) : void | ||
Teleport ( Vector3 origin, |
||
Think ( ) : void | ||
UpdateAnimationControllers ( ) : bool | ||
UpdateChangeableSpawnArgs ( idDict source ) : void |
Any key/value pair that might change during the course of the game (e.g. via a gui) should be initialize here so a gui or other trigger can change something and have it updated properly. |
|
WriteToSnapshot ( idBitMsgDelta msg ) : void | ||
idEntity ( ) : System |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
ModelCallback ( |
May not change the game state whatsoever! |
|
SetModel ( string modelName ) : void | ||
SetPhysics ( |
||
UpdateRenderEntity ( |
||
UpdateVisuals ( ) : void |
Method | Description | |
---|---|---|
ClearPVSAreas ( ) : void | ||
InitDefaultPhysics ( Vector3 origin, Matrix axis ) : void | ||
UpdateModel ( ) : void | ||
UpdateModelTransform ( ) : void |
public ActivatePhysics ( |
||
entity | Entity activating us. | |
return | void |
public AddContactEntity ( |
||
entity | ||
return | void |
public AddDamageEffect ( object collision, Vector3 velocity, string damageDefName ) : void | ||
collision | object | |
velocity | Vector3 | |
damageDefName | string | |
return | void |
public AddForce ( |
||
entity | ||
id | int | |
point | Vector3 | |
force | Vector3 | |
return | void |
public ApplyImpulse ( |
||
entity | ||
id | int | |
point | Vector3 | |
impulse | Vector3 | |
return | void |
public BecomeActive ( EntityThinkFlags flags ) : void | ||
flags | EntityThinkFlags | |
return | void |
public BecomeInactive ( EntityThinkFlags flags ) : void | ||
flags | EntityThinkFlags | |
return | void |
public ClientReceiveEvent ( int ev, int time, idBitMsg msg ) : bool | ||
ev | int | |
time | int | |
msg | idBitMsg | |
return | bool |
public Collide ( object collision, Vector3 velocity ) : bool | ||
collision | object | |
velocity | Vector3 | |
return | bool |
public Damage ( |
||
inflictor | Entity that is causing the damage. | |
attacker | Entity that caused the inflictor to cause damage to us. | |
direction | Vector3 | Direction of the attack for knockback in global space. |
damageDefName | string | |
damageScale | float | |
location | int | |
return | void |
public DamageFeedback ( |
||
victim | ||
inflictor | ||
damage | int | |
return | void |
public GetImpactInfo ( |
||
entity | ||
id | int | |
point | Vector3 | |
return | object |
public GetMasterPosition ( Vector3 &masterOrigin, Matrix &masterAxis ) : bool | ||
masterOrigin | Vector3 | |
masterAxis | Matrix | |
return | bool |
public GetPhysicsToSoundTransform ( Vector3 &origin, Matrix &axis ) : bool | ||
origin | Vector3 | |
axis | Matrix | |
return | bool |
public GetPhysicsToVisualTransform ( Vector3 &origin, Matrix &axis ) : bool | ||
origin | Vector3 | |
axis | Matrix | |
return | bool |
public HandleSingleGuiCommand ( |
||
entityGui | ||
lexer | ||
return | bool |
protected ModelCallback ( |
||
renderEntity | ||
renderView | ||
return | bool |
public Pain ( |
||
inflictor | ||
attacker | ||
damage | int | |
direction | Vector3 | |
location | int | |
return | bool |
public ProjectOverlay ( Vector3 origin, Vector3 direction, float size, string material ) : void | ||
origin | Vector3 | |
direction | Vector3 | |
size | float | |
material | string | |
return | void |
public ReadFromSnapshot ( idBitMsgDelta msg ) : void | ||
msg | idBitMsgDelta | |
return | void |
public RemoveContactEntity ( |
||
entity | ||
return | void |
public ServerReceiveEvent ( int ev, int time, idBitMsg msg ) : bool | ||
ev | int | |
time | int | |
msg | idBitMsg | |
return | bool |
protected SetModel ( string modelName ) : void | ||
modelName | string | |
return | void |
protected SetPhysics ( |
||
phys | ||
return | void |
public Teleport ( Vector3 origin, |
||
origin | Vector3 | |
angles | ||
destination | ||
return | void |
public UpdateChangeableSpawnArgs ( idDict source ) : void | ||
source | idDict | |
return | void |
protected UpdateRenderEntity ( |
||
renderEntity | ||
renderView | ||
return | bool |
public WriteToSnapshot ( idBitMsgDelta msg ) : void | ||
msg | idBitMsgDelta | |
return | void |
protected RenderEntityComponent,idTech4.Renderer _renderEntity | ||
return |
protected idRenderEntity,idTech4.Renderer _renderModel | ||
return |