C# Class SharpMod.Entity

Datei anzeigen Open project: txdv/sharpmod

Public Methods

Method Description
CreateEntity ( IntPtr entityPointer ) : Entity
DropToFloor ( ) : bool
Entity ( ) : System
Entity ( int classNameIndex ) : System
Entity ( string className ) : System
Find ( Entity startSearchAfter, string field, string val ) : Entity
Find ( string field, string val ) : IEnumerable
Find ( IntPtr startSearchAfter, string field, string val ) : IntPtr
GetIllumination ( ) : int
GetIndex ( IntPtr ptr ) : int
GetPrivateData ( int offset ) : int
Remove ( ) : void
SetPrivateData ( int offset, int value ) : void
Spawn ( ) : void
Touch ( Entity entity ) : void
Use ( Entity entity ) : void

Private Methods

Method Description
Entity ( Edict entity ) : System
Entity ( IntPtr ptr ) : System
Entity ( void ptr ) : System
GetClassName ( Edict entity ) : string
GetEffect ( Effects effect ) : bool
GetEntity ( int index ) : IntPtr
GetIndex ( void ptr ) : int
RegisterEntity ( int index, Entity entity ) : Entity
Remove ( IntPtr entity ) : void
RemoveEntity ( IntPtr entityPointer ) : void
SetEffect ( Effects effect, bool val ) : void

Method Details

CreateEntity() public static method

public static CreateEntity ( IntPtr entityPointer ) : Entity
entityPointer System.IntPtr
return Entity

DropToFloor() public method

public DropToFloor ( ) : bool
return bool

Entity() public method

public Entity ( ) : System
return System

Entity() public method

public Entity ( int classNameIndex ) : System
classNameIndex int
return System

Entity() public method

public Entity ( string className ) : System
className string
return System

Find() public static method

public static Find ( Entity startSearchAfter, string field, string val ) : Entity
startSearchAfter Entity
field string
val string
return Entity

Find() public static method

public static Find ( string field, string val ) : IEnumerable
field string
val string
return IEnumerable

Find() public static method

public static Find ( IntPtr startSearchAfter, string field, string val ) : IntPtr
startSearchAfter System.IntPtr
field string
val string
return System.IntPtr

GetIllumination() public method

public GetIllumination ( ) : int
return int

GetIndex() public static method

public static GetIndex ( IntPtr ptr ) : int
ptr IntPtr
return int

GetPrivateData() public method

public GetPrivateData ( int offset ) : int
offset int
return int

Remove() public method

public Remove ( ) : void
return void

SetPrivateData() public method

public SetPrivateData ( int offset, int value ) : void
offset int
value int
return void

Spawn() public method

public Spawn ( ) : void
return void

Touch() public method

public Touch ( Entity entity ) : void
entity Entity
return void

Use() public method

public Use ( Entity entity ) : void
entity Entity
return void