DayZ Enforce
Script API
Private Member Functions | List of all members
_entity Class Reference

#include <proto.h>

Inheritance diagram for _entity:
Object ObjectTyped Plant Entity ProxyInventory PlantBase WoodBase Camera EntityAI ProxyCrew ProxySubpart SoundOnVehicle StreetLamp BushHard BushSoft TreeHard TreeSoft

Private Member Functions

private void  EOnTouch (_entity other, int extra)
 
event private void  EOnInit (_entity other, int extra)
 
private void  EOnExtra (_entity other, int extra)
 
private void  EOnNotVisible (_entity other, int extra)
 
event private void  EOnFrame (_entity other, float timeSlice)
 
event private int  EOnVisible (_entity other, int extra)
 
event private void  EOnPostFrame (_entity other, int extra)
 
private void  EOnWorldProcess (_entity other, int extra)
 
private void  EOnAnimEvent (_entity other, AnimEvent extra)
 
private void  EOnSoundEvent (_entity other, SoundEvent extra)
 
private void  EOnSimulate (_entity other, float dt)
 
private void  EOnPostSimulate (_entity other, int extra)
 
private void  EOnJointBreak (_entity other, int extra)
 
private void  EOnPhysicsMove (_entity other, int extra)
 
private void  EOnContact (_entity other, Contact extra)
 
private void  EOnUser0 (_entity other, int extra)
 
private void  EOnUser1 (_entity other, int extra)
 
private void  EOnUser2 (_entity other, int extra)
 
private void  EOnUser3 (_entity other, int extra)
 
private void  EOnUser4 (_entity other, int extra)
 
private void  EOnDummy020 (_entity other, int extra)
 
private void  EOnDummy021 (_entity other, int extra)
 
private void  EOnDummy022 (_entity other, int extra)
 
private void  EOnDummy023 (_entity other, int extra)
 
private void  EOnDummy024 (_entity other, int extra)
 
private void  EOnDummy025 (_entity other, int extra)
 
private void  EOnDummy026 (_entity other, int extra)
 
private void  EOnDummy027 (_entity other, int extra)
 
private void  EOnDummy028 (_entity other, int extra)
 
private void  EOnDummy029 (_entity other, int extra)
 
private void  EOnDummy030 (_entity other, int extra)
 
private void  EOnDummy031 (_entity other, int extra)
 
proto vector  VectorToParent (vector vec)
  Transforms local vector to world space. More...
 
proto vector  CoordToParent (vector coord)
  Transforms local position to world space. More...
 
proto vector  VectorToLocal (vector vec)
  Transforms world space vector to local space. More...
 
proto vector  CoordToLocal (vector coord)
  Transforms world space position to local space. More...
 
proto int  GetID ()
  Return unique entity ID. More...
 
proto void  SetID (int id)
  Set unique entity ID. More...
 
proto _entity  GetParent ()
 
proto _entity  GetChildren ()
 
proto _entity  GetSibling ()
 
proto void  SetObject (vobject object, string options)
 
proto vobject  GetVObject ()
 
proto void  FilterNextTrace ()
 

Member Function Documentation

private void _entity::EOnTouch ( _entity  other,
int  extra 
)
private
event private void _entity::EOnInit ( _entity  other,
int  extra 
)
private
private void _entity::EOnExtra ( _entity  other,
int  extra 
)
private
private void _entity::EOnNotVisible ( _entity  other,
int  extra 
)
private
event private void _entity::EOnFrame ( _entity  other,
float  timeSlice 
)
private
event private int _entity::EOnVisible ( _entity  other,
int  extra 
)
private
event private void _entity::EOnPostFrame ( _entity  other,
int  extra 
)
private
private void _entity::EOnWorldProcess ( _entity  other,
int  extra 
)
private
private void _entity::EOnAnimEvent ( _entity  other,
AnimEvent  extra 
)
private
private void _entity::EOnSoundEvent ( _entity  other,
SoundEvent  extra 
)
private
private void _entity::EOnSimulate ( _entity  other,
float  dt 
)
private
private void _entity::EOnPostSimulate ( _entity  other,
int  extra 
)
private
private void _entity::EOnJointBreak ( _entity  other,
int  extra 
)
private
private void _entity::EOnPhysicsMove ( _entity  other,
int  extra 
)
private
private void _entity::EOnContact ( _entity  other,
Contact  extra 
)
private
private void _entity::EOnUser0 ( _entity  other,
int  extra 
)
private
private void _entity::EOnUser1 ( _entity  other,
int  extra 
)
private
private void _entity::EOnUser2 ( _entity  other,
int  extra 
)
private
private void _entity::EOnUser3 ( _entity  other,
int  extra 
)
private
private void _entity::EOnUser4 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy020 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy021 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy022 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy023 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy024 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy025 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy026 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy027 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy028 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy029 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy030 ( _entity  other,
int  extra 
)
private
private void _entity::EOnDummy031 ( _entity  other,
int  extra 
)
private
proto vector _entity::VectorToParent ( vector  vec )
private

Transforms local vector to world space.

Parameters
vec vector local space vector to transform
Returns
vector world space vector
Man player = g_Game.GetPlayer();
Print( player.VectorToParent("1 2 3") );
>> <2.89791,2,1.26575>
proto vector _entity::CoordToParent ( vector  coord )
private

Transforms local position to world space.

Parameters
coord vector local position to transform
Returns
vector position in world space
Man player = g_Game.GetPlayer();
Print( player.CoordToParent("1 2 3") );
>> <2549,17.6478,2857>

Referenced by PhysicsDragTool::HandleDragging().

proto vector _entity::VectorToLocal ( vector  vec )
private

Transforms world space vector to local space.

Parameters
vec vector world space vector to transform
Returns
vector local space vector
Man player = g_Game.GetPlayer();
Print( player.VectorToLocal("2 1 5") );
>> <-0.166849,1,5.38258>
proto vector _entity::CoordToLocal ( vector  coord )
private

Transforms world space position to local space.

Parameters
coord vector world space position to transform
Returns
vector position in local space
Man player = g_Game.GetPlayer();
Print( player.CoordToLocal("500 10 155") );
>> <15254,-54.2004,8745.53>
proto int _entity::GetID ( )
private

Return unique entity ID.

Returns
int unique entity ID
ItemBase apple = g_Game.CreateObject( "FruitApple", String2Vector("0 10 0"), false );
Print( apple.GetID() );
>> 0
proto void _entity::SetID ( int  id )
private

Set unique entity ID.

Parameters
id int unique entity ID to be set
ItemBase apple = g_Game.CreateObject( "Fruit_Apple", String2Vector("0 10 0"), false );
apple.SetID(101);
Print( apple.GetID() );
>> 101
proto _entity _entity::GetParent ( )
private
proto _entity _entity::GetChildren ( )
private
proto _entity _entity::GetSibling ( )
private
proto void _entity::SetObject ( vobject  object,
string  options 
)
private
proto vobject _entity::GetVObject ( )
private
proto void _entity::FilterNextTrace ( )
private

The documentation for this class was generated from the following file:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)