C# Class FOnline.Server.CritterManager

Inheritance: ICritterManager
ファイルを表示 Open project: rotators/fosdk

Public Methods

Method Description
CreatePlane ( ) : NpcPlane
DeleteNpc ( Critter cr ) : void
FromNative ( IntPtr ptr ) : Critter
GetAllNpc ( ushort pid, IList critters ) : uint
GetCritter ( uint id ) : Critter
GetCrittersDistantion ( Critter cr1, Critter cr2 ) : uint
IsCritterAnim1 ( uint cr_type ) : bool
IsCritterCanAim ( uint cr_type ) : bool
IsCritterCanArmor ( uint cr_type ) : bool
IsCritterCanRotate ( uint cr_type ) : bool
IsCritterCanRun ( uint cr_type ) : bool
IsCritterCanWalk ( uint cr_type ) : bool
SetChosenSendParameter ( int index, bool enabled ) : void
SetRegistrationParameter ( uint index, bool enabled ) : void
SetSendParameter ( int index, bool enabled ) : void
SwapCritters ( Critter cr1, Critter cr2, bool with_inv, bool with_vars ) : bool

Private Methods

Method Description
Crit_FromNative ( IntPtr ptr ) : Critter
Global_CreatePlane ( ) : IntPtr
Global_DeleteNpc ( IntPtr thisptr ) : IntPtr
Global_GetAllNpc ( ushort pid, IList critters ) : uint
Global_GetCritter ( uint id ) : IntPtr
Global_GetCrittersDistantion ( IntPtr ptr1, IntPtr ptr2 ) : uint
Global_IsCritterAnim1 ( uint cr_type ) : bool
Global_IsCritterCanAim ( uint cr_type ) : bool
Global_IsCritterCanArmor ( uint cr_type ) : bool
Global_IsCritterCanRotate ( uint cr_type ) : bool
Global_IsCritterCanRun ( uint cr_type ) : bool
Global_IsCritterCanWalk ( uint cr_type ) : bool
Global_SetChosenSendParameter ( int index, bool enabled ) : void
Global_SetRegistrationParam ( uint index, bool enabled ) : void
Global_SetSendParameter ( int index, bool enabled ) : void
Global_SwapCritters ( IntPtr cr1, IntPtr cr2, bool with_inv, bool with_vars ) : bool

Method Details

CreatePlane() public method

public CreatePlane ( ) : NpcPlane
return NpcPlane

DeleteNpc() public method

public DeleteNpc ( Critter cr ) : void
cr Critter
return void

FromNative() public method

public FromNative ( IntPtr ptr ) : Critter
ptr System.IntPtr
return Critter

GetAllNpc() public method

public GetAllNpc ( ushort pid, IList critters ) : uint
pid ushort
critters IList
return uint

GetCritter() public method

public GetCritter ( uint id ) : Critter
id uint
return Critter

GetCrittersDistantion() public method

public GetCrittersDistantion ( Critter cr1, Critter cr2 ) : uint
cr1 Critter
cr2 Critter
return uint

IsCritterAnim1() public method

public IsCritterAnim1 ( uint cr_type ) : bool
cr_type uint
return bool

IsCritterCanAim() public method

public IsCritterCanAim ( uint cr_type ) : bool
cr_type uint
return bool

IsCritterCanArmor() public method

public IsCritterCanArmor ( uint cr_type ) : bool
cr_type uint
return bool

IsCritterCanRotate() public method

public IsCritterCanRotate ( uint cr_type ) : bool
cr_type uint
return bool

IsCritterCanRun() public method

public IsCritterCanRun ( uint cr_type ) : bool
cr_type uint
return bool

IsCritterCanWalk() public method

public IsCritterCanWalk ( uint cr_type ) : bool
cr_type uint
return bool

SetChosenSendParameter() public method

public SetChosenSendParameter ( int index, bool enabled ) : void
index int
enabled bool
return void

SetRegistrationParameter() public method

public SetRegistrationParameter ( uint index, bool enabled ) : void
index uint
enabled bool
return void

SetSendParameter() public method

public SetSendParameter ( int index, bool enabled ) : void
index int
enabled bool
return void

SwapCritters() public method

public SwapCritters ( Critter cr1, Critter cr2, bool with_inv, bool with_vars ) : bool
cr1 Critter
cr2 Critter
with_inv bool
with_vars bool
return bool