C# 클래스 GameEntities.Item

Items which can be picked up by units. Med-kits, weapons, ammunition.
상속: Dynamic
파일 보기 프로젝트 열기: DarrenHassan/GDM4242-GroupD

공개 메소드들

메소드 설명
Item ( ) : System
Take ( Unit unit ) : bool

보호된 메소드들

메소드 설명
Client_OnTick ( ) : void
OnCreate ( ) : void
OnPostCreate ( bool loaded ) : void

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

OnPreCreate ( ) : void
OnSetTransform ( Vec3 &pos, Quat &rot, Vec3 &scl ) : void
OnTake ( Unit unit ) : bool
OnTick ( ) : void

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

Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

비공개 메소드들

메소드 설명
Client_ReceiveSoundPlayTake ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveUpdatePosition ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_SendPositionToAllClients ( ) : void
Server_SendPositionToNewClient ( RemoteEntityWorld remoteEntityWorld ) : void
Server_SendSoundPlayTakeToAllClients ( ) : void
UpdateRotation ( ) : void

메소드 상세

Client_OnTick() 보호된 메소드

protected Client_OnTick ( ) : void
리턴 void

Item() 공개 메소드

public Item ( ) : System
리턴 System

OnCreate() 보호된 메소드

protected OnCreate ( ) : void
리턴 void

OnPostCreate() 보호된 메소드

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

OnPreCreate() 보호된 메소드

protected OnPreCreate ( ) : void
리턴 void

OnSetTransform() 보호된 메소드

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

OnTake() 보호된 메소드

protected OnTake ( Unit unit ) : bool
unit Unit
리턴 bool

OnTick() 보호된 메소드

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

Server_OnClientConnectedBeforePostCreate() 보호된 메소드

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

Take() 공개 메소드

public Take ( Unit unit ) : bool
unit Unit
리턴 bool