C# Класс fBaseXtensions.Cache.Internal.Objects.CacheObject

Наследование: CachedSNOEntry, IComparable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CreationTime System.DateTime
WorldID int

Private Properties

Свойство Тип Описание
UpdateRotation void

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

Метод Описание
BotIsFacing ( ) : bool
BotIsFacing ( System.Vector3 DestinationVector ) : bool
CacheObject ( CacheObject parent ) : System

Used to recreate from temp into obstacle object.

CacheObject ( System.Vector3 thisposition, TargetType thisobjecttype = TargetType.None, double thisweight, string name = null, float thisradius = 0f, int thisractorguid = -1, int thissno ) : System

Used to create objects to use as temp targeting

CacheObject ( int sno, int raguid, int acdguid, System.Vector3 position, string Name = null ) : System
CanInteract ( ) : bool

Validate the object is still capable of interaction. (Used by derieved classes only!)

Clone ( ) : CacheObject
CompareTo ( object obj ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
Interact ( ) : RunStatus

Called during target handling interaction stage. (Derieved classes override this)

IsFacingBot ( ) : bool
IsPositionWithinRange ( System.Vector3 V, float Range ) : bool

Check if the distance between the object and vector is less than range. (Factors the radius of object too)

IsStillValid ( ) : bool
UpdateAnimationState ( ) : void
UpdateData ( ) : bool

Updates the object values (Used by derieved classes only!)

UpdateData ( DiaObject thisObj, int RaGuid ) : bool
UpdatePosition ( bool force = false ) : void
UpdateProperties ( ) : void
UpdateSNOAnim ( ) : void
UpdateWeight ( ) : void

Base Weighting Method

WithinInteractionRange ( ) : bool

Called during target handling movement check stage. (Derieved classes override this)

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

Метод Описание
UpdateRotation ( ) : void

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

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

public BotIsFacing ( ) : bool
Результат bool

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

public BotIsFacing ( System.Vector3 DestinationVector ) : bool
DestinationVector System.Vector3
Результат bool

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

Used to recreate from temp into obstacle object.
public CacheObject ( CacheObject parent ) : System
parent CacheObject
Результат System

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

Used to create objects to use as temp targeting
public CacheObject ( System.Vector3 thisposition, TargetType thisobjecttype = TargetType.None, double thisweight, string name = null, float thisradius = 0f, int thisractorguid = -1, int thissno ) : System
thisposition System.Vector3
thisobjecttype TargetType
thisweight double
name string
thisradius float
thisractorguid int
thissno int
Результат System

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

public CacheObject ( int sno, int raguid, int acdguid, System.Vector3 position, string Name = null ) : System
sno int
raguid int
acdguid int
position System.Vector3
Name string
Результат System

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

Validate the object is still capable of interaction. (Used by derieved classes only!)
public CanInteract ( ) : bool
Результат bool

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

public Clone ( ) : CacheObject
Результат CacheObject

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

public CompareTo ( object obj ) : int
obj object
Результат int

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

public Equals ( object obj ) : bool
obj object
Результат bool

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

public GetHashCode ( ) : int
Результат int

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

Called during target handling interaction stage. (Derieved classes override this)
public Interact ( ) : RunStatus
Результат RunStatus

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

public IsFacingBot ( ) : bool
Результат bool

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

Check if the distance between the object and vector is less than range. (Factors the radius of object too)
public IsPositionWithinRange ( System.Vector3 V, float Range ) : bool
V System.Vector3
Range float
Результат bool

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

public IsStillValid ( ) : bool
Результат bool

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

public UpdateAnimationState ( ) : void
Результат void

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

Updates the object values (Used by derieved classes only!)
public UpdateData ( ) : bool
Результат bool

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

public UpdateData ( DiaObject thisObj, int RaGuid ) : bool
thisObj DiaObject
RaGuid int
Результат bool

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

public UpdatePosition ( bool force = false ) : void
force bool
Результат void

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

public UpdateProperties ( ) : void
Результат void

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

public UpdateSNOAnim ( ) : void
Результат void

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

Base Weighting Method
public UpdateWeight ( ) : void
Результат void

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

Called during target handling movement check stage. (Derieved classes override this)
public WithinInteractionRange ( ) : bool
Результат bool

Описание свойств

CreationTime публичное свойство

public DateTime,System CreationTime
Результат System.DateTime

WorldID публичное свойство

public int WorldID
Результат int