C# Class fBaseXtensions.Cache.Internal.Objects.CacheObject

Inheritance: CachedSNOEntry, IComparable
Afficher le fichier Open project: herbfunk/Funky Class Usage Examples

Méthodes publiques

Свойство Type Description
CreationTime System.DateTime
WorldID int

Private Properties

Свойство Type Description
UpdateRotation void

Méthodes publiques

Méthode Description
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)

Private Methods

Méthode Description
UpdateRotation ( ) : void

Method Details

BotIsFacing() public méthode

public BotIsFacing ( ) : bool
Résultat bool

BotIsFacing() public méthode

public BotIsFacing ( System.Vector3 DestinationVector ) : bool
DestinationVector System.Vector3
Résultat bool

CacheObject() public méthode

Used to recreate from temp into obstacle object.
public CacheObject ( CacheObject parent ) : System
parent CacheObject
Résultat System

CacheObject() public méthode

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
Résultat System

CacheObject() public méthode

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
Résultat System

CanInteract() public méthode

Validate the object is still capable of interaction. (Used by derieved classes only!)
public CanInteract ( ) : bool
Résultat bool

Clone() public méthode

public Clone ( ) : CacheObject
Résultat CacheObject

CompareTo() public méthode

public CompareTo ( object obj ) : int
obj object
Résultat int

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Interact() public méthode

Called during target handling interaction stage. (Derieved classes override this)
public Interact ( ) : RunStatus
Résultat RunStatus

IsFacingBot() public méthode

public IsFacingBot ( ) : bool
Résultat bool

IsPositionWithinRange() public méthode

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
Résultat bool

IsStillValid() public méthode

public IsStillValid ( ) : bool
Résultat bool

UpdateAnimationState() public méthode

public UpdateAnimationState ( ) : void
Résultat void

UpdateData() public méthode

Updates the object values (Used by derieved classes only!)
public UpdateData ( ) : bool
Résultat bool

UpdateData() public méthode

public UpdateData ( DiaObject thisObj, int RaGuid ) : bool
thisObj DiaObject
RaGuid int
Résultat bool

UpdatePosition() public méthode

public UpdatePosition ( bool force = false ) : void
force bool
Résultat void

UpdateProperties() public méthode

public UpdateProperties ( ) : void
Résultat void

UpdateSNOAnim() public méthode

public UpdateSNOAnim ( ) : void
Résultat void

UpdateWeight() public méthode

Base Weighting Method
public UpdateWeight ( ) : void
Résultat void

WithinInteractionRange() public méthode

Called during target handling movement check stage. (Derieved classes override this)
public WithinInteractionRange ( ) : bool
Résultat bool

Property Details

CreationTime public_oe property

public DateTime,System CreationTime
Résultat System.DateTime

WorldID public_oe property

public int WorldID
Résultat int