C# Class FOnline.CritterManager

Inheritance: ICritterManager
Afficher le fichier Open project: wladimiiir/vault112 Class Usage Examples

Méthodes publiques

Méthode Description
CreatePlane ( ) : NpcPlane
DeleteNpc ( Critter cr ) : void
FromNative ( IntPtr ptr ) : Critter
GetAllNpc ( ushort pid, CritterArray npc ) : 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
SetParameterChangeBehaviour ( uint index, Action func ) : bool
SetParameterChangeBehaviour ( uint index, string func_name ) : bool
SetParameterGetBehaviour ( uint index, Func func ) : bool
SetParameterGetBehaviour ( uint index, string func_name ) : bool
SetRegistrationParameter ( uint index, bool enabled ) : void
SetSendParameter ( int index, bool enabled ) : void
SetSendParameter ( int index, bool enabled, string allow_func ) : void
SwapCritters ( Critter cr1, Critter cr2, bool with_inv, bool with_vars ) : bool

Private Methods

Méthode Description
Crit_FromNative ( IntPtr ptr ) : Critter
Global_CreatePlane ( ) : IntPtr
Global_DeleteNpc ( IntPtr thisptr ) : IntPtr
Global_GetAllNpc ( ushort pid, IntPtr array ) : 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_SetParameterChangeBehaviour ( uint index, IntPtr func_name ) : bool
Global_SetParameterGetBehaviour ( uint index, IntPtr func_name ) : bool
Global_SetRegistrationParam ( uint index, bool enabled ) : void
Global_SetSendParameter ( int index, bool enabled ) : void
Global_SetSendParameterFunc ( int index, bool enabled, IntPtr allow_func ) : void
Global_SwapCritters ( IntPtr cr1, IntPtr cr2, bool with_inv, bool with_vars ) : bool

Method Details

CreatePlane() public méthode

public CreatePlane ( ) : NpcPlane
Résultat NpcPlane

DeleteNpc() public méthode

public DeleteNpc ( Critter cr ) : void
cr Critter
Résultat void

FromNative() public méthode

public FromNative ( IntPtr ptr ) : Critter
ptr System.IntPtr
Résultat Critter

GetAllNpc() public méthode

public GetAllNpc ( ushort pid, CritterArray npc ) : uint
pid ushort
npc CritterArray
Résultat uint

GetCritter() public méthode

public GetCritter ( uint id ) : Critter
id uint
Résultat Critter

GetCrittersDistantion() public méthode

public GetCrittersDistantion ( Critter cr1, Critter cr2 ) : uint
cr1 Critter
cr2 Critter
Résultat uint

IsCritterAnim1() public méthode

public IsCritterAnim1 ( uint cr_type ) : bool
cr_type uint
Résultat bool

IsCritterCanAim() public méthode

public IsCritterCanAim ( uint cr_type ) : bool
cr_type uint
Résultat bool

IsCritterCanArmor() public méthode

public IsCritterCanArmor ( uint cr_type ) : bool
cr_type uint
Résultat bool

IsCritterCanRotate() public méthode

public IsCritterCanRotate ( uint cr_type ) : bool
cr_type uint
Résultat bool

IsCritterCanRun() public méthode

public IsCritterCanRun ( uint cr_type ) : bool
cr_type uint
Résultat bool

IsCritterCanWalk() public méthode

public IsCritterCanWalk ( uint cr_type ) : bool
cr_type uint
Résultat bool

SetChosenSendParameter() public méthode

public SetChosenSendParameter ( int index, bool enabled ) : void
index int
enabled bool
Résultat void

SetParameterChangeBehaviour() public méthode

public SetParameterChangeBehaviour ( uint index, Action func ) : bool
index uint
func Action
Résultat bool

SetParameterChangeBehaviour() public méthode

public SetParameterChangeBehaviour ( uint index, string func_name ) : bool
index uint
func_name string
Résultat bool

SetParameterGetBehaviour() public méthode

public SetParameterGetBehaviour ( uint index, Func func ) : bool
index uint
func Func
Résultat bool

SetParameterGetBehaviour() public méthode

public SetParameterGetBehaviour ( uint index, string func_name ) : bool
index uint
func_name string
Résultat bool

SetRegistrationParameter() public méthode

public SetRegistrationParameter ( uint index, bool enabled ) : void
index uint
enabled bool
Résultat void

SetSendParameter() public méthode

public SetSendParameter ( int index, bool enabled ) : void
index int
enabled bool
Résultat void

SetSendParameter() public méthode

public SetSendParameter ( int index, bool enabled, string allow_func ) : void
index int
enabled bool
allow_func string
Résultat void

SwapCritters() public méthode

public SwapCritters ( Critter cr1, Critter cr2, bool with_inv, bool with_vars ) : bool
cr1 Critter
cr2 Critter
with_inv bool
with_vars bool
Résultat bool