C# 클래스 GameEntities.Dynamic

Defines a object with a lifespan, sounds and damage for the collision of physical bodies, and management of influences.
상속: MapObject
파일 보기 프로젝트 열기: DarrenHassan/GDM4242-GroupD 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Body_Collision void
Client_GetReceivePositionsSnapshots void
Client_ReceiveBodiesPositions void
Client_ReceiveLife void
Client_ReceivePositions void
Client_ReceiveSoundPlayCollision void
CopyInfluencesToObject void
CreateAnimationController void
Die void
LoadAnimationState void
SaveAnimationState void
Server_SendBodiesPositionsToNewClient void
Server_SendLifeToClients void
Server_SendPositionsToAllClients void
Server_SendPositionsToNewClient void
Server_SendSoundPlayCollisionToAllClients void
TickForceAnimationRemainingTime void
UpdateAutomaticInfluences void

공개 메소드들

메소드 설명
AddInfluence ( InfluenceType influenceType, float time, bool checkSubstance ) : void
Client_UpdatePositionsBySnapshots ( bool rendering ) : void
CurrentAnimationIsEnabled ( ) : bool
Die ( MapObject prejudicial ) : void
Die ( MapObject prejudicial, bool allowLatencyTime ) : void
DoDamage ( MapObject prejudicial, Vec3 pos, Shape shape, float damage, bool allowMoveDamageToParent ) : void
ForceAnimationIsEnabled ( ) : bool
GetParentUnit ( ) : Unit
GetParentUnitHavingIntellect ( ) : Unit
SetForceAnimation ( string animationBaseName, bool allowRandomAnimationNumber ) : void
SoundPlay3D ( string name, float priority, bool needAttach ) : void
SuspendPhysicsDuringMapLoading ( bool suspend ) : void

보호된 메소드들

메소드 설명
Client_OnTick ( ) : void
GetRandomAnimationNumber ( string animationBaseName, bool firstAnimationIn10TimesMoreOften ) : int
OnCreate ( ) : void

Overridden from Engine.EntitySystem.Entity.OnCreate().

OnCreateInfluence ( Influence influence ) : void
OnDamage ( MapObject prejudicial, Vec3 pos, Shape shape, float damage, bool allowMoveDamageToParent ) : void
OnDestroy ( ) : void

Overridden from Engine.EntitySystem.Entity.OnDestroy().

OnDie ( MapObject prejudicial ) : void
OnDieObjectCreate ( MapObjectCreateObject createObject, object objectCreated ) : void
OnLifeTimeIsOver ( ) : void
OnLoad ( TextBlock block ) : bool

Overridden from Engine.EntitySystem.Entity.OnLoad(TextBlock).

OnPostCreate ( bool loaded ) : void

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).

OnRemoveChild ( Entity entity ) : void

Overridden from Engine.EntitySystem.Entity.OnRemoveChild(Entity)

OnRenderFrame ( ) : void
OnSave ( TextBlock block ) : void

Overridden from Engine.EntitySystem.Entity.OnSave(TextBlock).

OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
OnShouldDelete ( ) : bool

Overridden from Engine.EntitySystem.Entity.OnShouldDelete().

OnSuspendPhysicsDuringMapLoading ( bool suspend ) : void
OnTick ( ) : void

Overridden from Engine.EntitySystem.Entity.OnTick().

OnUpdateBaseAnimation ( ) : void
Server_OnClientConnectedAfterPostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
Server_SendBodiesPositionsToAllClients ( bool updateAll ) : void
UpdateBaseAnimation ( string animationBaseName, bool allowRandomAnimationNumber, bool loop, float velocity ) : void

비공개 메소드들

메소드 설명
Body_Collision ( CollisionEvent &collisionEvent ) : void
Client_GetReceivePositionsSnapshots ( int networkTickNumber, Client_ReceivePositionsSnapshot &snapshot1, Client_ReceivePositionsSnapshot &snapshot2 ) : void
Client_ReceiveBodiesPositions ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveLife ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceivePositions ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveSoundPlayCollision ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
CopyInfluencesToObject ( Dynamic destination ) : void
CreateAnimationController ( ) : void
Die ( ) : void
LoadAnimationState ( TextBlock block ) : void
SaveAnimationState ( TextBlock block ) : void
Server_SendBodiesPositionsToNewClient ( RemoteEntityWorld remoteEntityWorld ) : void
Server_SendLifeToClients ( IList remoteEntityWorlds ) : void
Server_SendPositionsToAllClients ( bool updateAll ) : void
Server_SendPositionsToNewClient ( RemoteEntityWorld remoteEntityWorld ) : void
Server_SendSoundPlayCollisionToAllClients ( ) : void
TickForceAnimationRemainingTime ( ) : void
UpdateAutomaticInfluences ( ) : void

메소드 상세

AddInfluence() 공개 메소드

public AddInfluence ( InfluenceType influenceType, float time, bool checkSubstance ) : void
influenceType InfluenceType
time float
checkSubstance bool
리턴 void

Client_OnTick() 보호된 메소드

protected Client_OnTick ( ) : void
리턴 void

Client_UpdatePositionsBySnapshots() 공개 메소드

public Client_UpdatePositionsBySnapshots ( bool rendering ) : void
rendering bool
리턴 void

CurrentAnimationIsEnabled() 공개 메소드

public CurrentAnimationIsEnabled ( ) : bool
리턴 bool

Die() 공개 메소드

public Die ( MapObject prejudicial ) : void
prejudicial MapObject
리턴 void

Die() 공개 메소드

public Die ( MapObject prejudicial, bool allowLatencyTime ) : void
prejudicial MapObject
allowLatencyTime bool
리턴 void

DoDamage() 공개 메소드

public DoDamage ( MapObject prejudicial, Vec3 pos, Shape shape, float damage, bool allowMoveDamageToParent ) : void
prejudicial MapObject
pos Vec3
shape Shape
damage float
allowMoveDamageToParent bool
리턴 void

ForceAnimationIsEnabled() 공개 메소드

public ForceAnimationIsEnabled ( ) : bool
리턴 bool

GetParentUnit() 공개 메소드

public GetParentUnit ( ) : Unit
리턴 Unit

GetParentUnitHavingIntellect() 공개 메소드

public GetParentUnitHavingIntellect ( ) : Unit
리턴 Unit

GetRandomAnimationNumber() 보호된 메소드

protected GetRandomAnimationNumber ( string animationBaseName, bool firstAnimationIn10TimesMoreOften ) : int
animationBaseName string
firstAnimationIn10TimesMoreOften bool
리턴 int

OnCreate() 보호된 메소드

Overridden from Engine.EntitySystem.Entity.OnCreate().
protected OnCreate ( ) : void
리턴 void

OnCreateInfluence() 보호된 메소드

protected OnCreateInfluence ( Influence influence ) : void
influence Influence
리턴 void

OnDamage() 보호된 메소드

protected OnDamage ( MapObject prejudicial, Vec3 pos, Shape shape, float damage, bool allowMoveDamageToParent ) : void
prejudicial MapObject
pos Vec3
shape Shape
damage float
allowMoveDamageToParent bool
리턴 void

OnDestroy() 보호된 메소드

Overridden from Engine.EntitySystem.Entity.OnDestroy().
protected OnDestroy ( ) : void
리턴 void

OnDie() 보호된 메소드

protected OnDie ( MapObject prejudicial ) : void
prejudicial MapObject
리턴 void

OnDieObjectCreate() 보호된 메소드

protected OnDieObjectCreate ( MapObjectCreateObject createObject, object objectCreated ) : void
createObject MapObjectCreateObject
objectCreated object
리턴 void

OnLifeTimeIsOver() 보호된 메소드

protected OnLifeTimeIsOver ( ) : void
리턴 void

OnLoad() 보호된 메소드

Overridden from Engine.EntitySystem.Entity.OnLoad(TextBlock).
protected OnLoad ( TextBlock block ) : bool
block TextBlock
리턴 bool

OnPostCreate() 보호된 메소드

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
리턴 void

OnRemoveChild() 보호된 메소드

Overridden from Engine.EntitySystem.Entity.OnRemoveChild(Entity)
protected OnRemoveChild ( Entity entity ) : void
entity Entity
리턴 void

OnRenderFrame() 보호된 메소드

protected OnRenderFrame ( ) : void
리턴 void

OnSave() 보호된 메소드

Overridden from Engine.EntitySystem.Entity.OnSave(TextBlock).
protected OnSave ( TextBlock block ) : void
block TextBlock
리턴 void

OnSetTransform() 보호된 메소드

protected OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
pos Vec3
rot Quat
scl Vec3
리턴 void

OnShouldDelete() 보호된 메소드

Overridden from Engine.EntitySystem.Entity.OnShouldDelete().
protected OnShouldDelete ( ) : bool
리턴 bool

OnSuspendPhysicsDuringMapLoading() 보호된 메소드

protected OnSuspendPhysicsDuringMapLoading ( bool suspend ) : void
suspend bool
리턴 void

OnTick() 보호된 메소드

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
리턴 void

OnUpdateBaseAnimation() 보호된 메소드

protected OnUpdateBaseAnimation ( ) : void
리턴 void

Server_OnClientConnectedAfterPostCreate() 보호된 메소드

protected Server_OnClientConnectedAfterPostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
리턴 void

Server_OnClientConnectedBeforePostCreate() 보호된 메소드

protected Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
리턴 void

Server_SendBodiesPositionsToAllClients() 보호된 메소드

protected Server_SendBodiesPositionsToAllClients ( bool updateAll ) : void
updateAll bool
리턴 void

SetForceAnimation() 공개 메소드

public SetForceAnimation ( string animationBaseName, bool allowRandomAnimationNumber ) : void
animationBaseName string
allowRandomAnimationNumber bool
리턴 void

SoundPlay3D() 공개 메소드

public SoundPlay3D ( string name, float priority, bool needAttach ) : void
name string
priority float
needAttach bool
리턴 void

SuspendPhysicsDuringMapLoading() 공개 메소드

public SuspendPhysicsDuringMapLoading ( bool suspend ) : void
suspend bool
리턴 void

UpdateBaseAnimation() 보호된 메소드

protected UpdateBaseAnimation ( string animationBaseName, bool allowRandomAnimationNumber, bool loop, float velocity ) : void
animationBaseName string
allowRandomAnimationNumber bool
loop bool
velocity float
리턴 void