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

Inheritance: CachedSNOEntry, IComparable
Mostrar archivo Open project: herbfunk/Funky Class Usage Examples

Public Properties

Property Type Description
CreationTime System.DateTime
WorldID int

Private Properties

Property Type Description
UpdateRotation void

Public Methods

Method 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

Method Description
UpdateRotation ( ) : void

Method Details

BotIsFacing() public method

public BotIsFacing ( ) : bool
return bool

BotIsFacing() public method

public BotIsFacing ( System.Vector3 DestinationVector ) : bool
DestinationVector System.Vector3
return bool

CacheObject() public method

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

CacheObject() public method

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
return System

CacheObject() public method

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
return System

CanInteract() public method

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

Clone() public method

public Clone ( ) : CacheObject
return CacheObject

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Interact() public method

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

IsFacingBot() public method

public IsFacingBot ( ) : bool
return bool

IsPositionWithinRange() public method

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
return bool

IsStillValid() public method

public IsStillValid ( ) : bool
return bool

UpdateAnimationState() public method

public UpdateAnimationState ( ) : void
return void

UpdateData() public method

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

UpdateData() public method

public UpdateData ( DiaObject thisObj, int RaGuid ) : bool
thisObj DiaObject
RaGuid int
return bool

UpdatePosition() public method

public UpdatePosition ( bool force = false ) : void
force bool
return void

UpdateProperties() public method

public UpdateProperties ( ) : void
return void

UpdateSNOAnim() public method

public UpdateSNOAnim ( ) : void
return void

UpdateWeight() public method

Base Weighting Method
public UpdateWeight ( ) : void
return void

WithinInteractionRange() public method

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

Property Details

CreationTime public_oe property

public DateTime,System CreationTime
return System.DateTime

WorldID public_oe property

public int WorldID
return int