Property | Type | Description | |
---|---|---|---|
entityId | string | ||
healthbarTemplate | GameObject | ||
inactivityTimeout | float | ||
networkFieldsDb | NetworkFieldsDb | ||
shortId | int |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
FromGameObject ( Common.GameObject go ) : IGameEntity | ||
GameEntityTypeFromTrackData ( TrackData trackData ) : GameEntityType | ||
GetCharacter ( ) : Common.Character | ||
GetCharacterId ( ) : string | ||
GetControllerType ( ) : ControllerType | ||
GetEntityId ( ) : string | ||
GetGameEntityController ( ) : Common.GameEntityController | ||
GetGameEntityType ( ) : GameEntityType | ||
GetGameObject ( ) : Common.GameObject | ||
GetNetworkFields ( ) : Common.NetworkFields | ||
GetSpawnPoint ( ) : Common.Vector3 | ||
GetTargetPosition ( ) : Common.Vector3 | ||
GetTrackData ( ) : TrackData | ||
GetTransform ( ) : Common.Transform | ||
GetVitals ( ) : Vitals | ||
HasVitals ( ) : bool | ||
Init ( string entityId, Common.Character character, GameEntityType entityType, ControllerType controllerType ) : void | ||
IsActive ( ) : bool | ||
IsDead ( ) : bool | ||
IsGameEntity ( Common.GameObject go ) : bool | ||
IsInCombat ( ) : bool | ||
IsLocalController ( ) : bool | ||
IsNpc ( ) : bool | ||
IsOtherPlayer ( ) : bool | ||
IsPlayer ( ) : bool | ||
MovementDisabled ( ) : bool | ||
Remove ( ) : void | ||
ResetTrackData ( ) : void | ||
SetActive ( bool active, bool setLocation ) : void | ||
SetCharacter ( Common.Character character ) : void | ||
SetHealthbar ( bool active, float scale ) : void | ||
SetShortId ( int shortId ) : void | ||
SetTargetPosition ( Common.Vector3 targetPosition ) : void | ||
SetVitals ( Vitals vitals ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
UpdateFromTrackData ( TrackData trackData, bool hasDelta ) : void |
Method | Description | |
---|---|---|
AddHealthbar ( ) : void | ||
UpdateHealthbar ( ) : void |
public static FromGameObject ( Common.GameObject go ) : IGameEntity | ||
go | Common.GameObject | |
return | IGameEntity |
public static GameEntityTypeFromTrackData ( TrackData trackData ) : GameEntityType | ||
trackData | TrackData | |
return | GameEntityType |
public GetControllerType ( ) : ControllerType | ||
return | ControllerType |
public GetGameEntityController ( ) : Common.GameEntityController | ||
return | Common.GameEntityController |
public GetGameEntityType ( ) : GameEntityType | ||
return | GameEntityType |
public GetNetworkFields ( ) : Common.NetworkFields | ||
return | Common.NetworkFields |
public GetTargetPosition ( ) : Common.Vector3 | ||
return | Common.Vector3 |
public Init ( string entityId, Common.Character character, GameEntityType entityType, ControllerType controllerType ) : void | ||
entityId | string | |
character | Common.Character | |
entityType | GameEntityType | |
controllerType | ControllerType | |
return | void |
public static IsGameEntity ( Common.GameObject go ) : bool | ||
go | Common.GameObject | |
return | bool |
public SetActive ( bool active, bool setLocation ) : void | ||
active | bool | |
setLocation | bool | |
return | void |
public SetCharacter ( Common.Character character ) : void | ||
character | Common.Character | |
return | void |
public SetHealthbar ( bool active, float scale ) : void | ||
active | bool | |
scale | float | |
return | void |
public SetTargetPosition ( Common.Vector3 targetPosition ) : void | ||
targetPosition | Common.Vector3 | |
return | void |
public UpdateFromTrackData ( TrackData trackData, bool hasDelta ) : void | ||
trackData | TrackData | |
hasDelta | bool | |
return | void |