C# Класс FOnline.Server.CritterManager

Наследование: ICritterManager
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CreatePlane() публичный Метод

public CreatePlane ( ) : NpcPlane
Результат NpcPlane

DeleteNpc() публичный Метод

public DeleteNpc ( Critter cr ) : void
cr Critter
Результат void

FromNative() публичный Метод

public FromNative ( IntPtr ptr ) : Critter
ptr System.IntPtr
Результат Critter

GetAllNpc() публичный Метод

public GetAllNpc ( ushort pid, IList critters ) : uint
pid ushort
critters IList
Результат uint

GetCritter() публичный Метод

public GetCritter ( uint id ) : Critter
id uint
Результат Critter

GetCrittersDistantion() публичный Метод

public GetCrittersDistantion ( Critter cr1, Critter cr2 ) : uint
cr1 Critter
cr2 Critter
Результат uint

IsCritterAnim1() публичный Метод

public IsCritterAnim1 ( uint cr_type ) : bool
cr_type uint
Результат bool

IsCritterCanAim() публичный Метод

public IsCritterCanAim ( uint cr_type ) : bool
cr_type uint
Результат bool

IsCritterCanArmor() публичный Метод

public IsCritterCanArmor ( uint cr_type ) : bool
cr_type uint
Результат bool

IsCritterCanRotate() публичный Метод

public IsCritterCanRotate ( uint cr_type ) : bool
cr_type uint
Результат bool

IsCritterCanRun() публичный Метод

public IsCritterCanRun ( uint cr_type ) : bool
cr_type uint
Результат bool

IsCritterCanWalk() публичный Метод

public IsCritterCanWalk ( uint cr_type ) : bool
cr_type uint
Результат bool

SetChosenSendParameter() публичный Метод

public SetChosenSendParameter ( int index, bool enabled ) : void
index int
enabled bool
Результат void

SetRegistrationParameter() публичный Метод

public SetRegistrationParameter ( uint index, bool enabled ) : void
index uint
enabled bool
Результат void

SetSendParameter() публичный Метод

public SetSendParameter ( int index, bool enabled ) : void
index int
enabled bool
Результат void

SwapCritters() публичный Метод

public SwapCritters ( Critter cr1, Critter cr2, bool with_inv, bool with_vars ) : bool
cr1 Critter
cr2 Critter
with_inv bool
with_vars bool
Результат bool