C# Class GameEntities.PlayerCharacter

Inheritance: GameCharacter
Afficher le fichier Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Private Properties

Свойство Type Description
Client_ReceiveActiveWeapon void
Client_ReceiveContusionTimeRemaining void
Client_ReceiveWeaponVerticalAngle void
CreateActiveWeaponAttachedObject void
GetActiveWeapon int
Server_SendContusionTimeRemainingToClients void
Server_SendSetActiveWeaponToClients void
Server_SendWeaponVerticalAngleToClients void
Server_TickSendWeaponVerticalAngleToClients void
SetActiveNextWeapon void
SetActivePreviousWeapon void
TickContusionTime void
UpdateTPSArcadeLookDirection void
WeaponTryFire void
WeaponTryReload void
activeWeapon_PreFire void

Méthodes publiques

Méthode Description
ApplyChangeMapInformation ( ChangeMapInformation information, SpawnPoint spawnPoint ) : void
GetChangeMapInformation ( MapChangeRegion region ) : ChangeMapInformation
GetWeaponIndex ( WeaponType weaponType ) : int
SetActiveWeapon ( int index ) : bool
TakeBullets ( BulletType bulletType, int count ) : bool
TakeWeapon ( WeaponType weaponType ) : bool

Méthodes protégées

Méthode Description
Client_OnTick ( ) : void
OnCopyTransform ( MapObject from ) : void
OnIntellectCommand ( Intellect command ) : void
OnPostCreate ( bool loaded ) : void

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

OnRelatedEntityDelete ( Entity entity ) : void

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

OnRender ( Engine.Camera camera ) : void

Overridden from Engine.MapSystem.MapObject.OnRender(Camera).

OnTick ( ) : void

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

Server_OnClientConnectedAfterPostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

Private Methods

Méthode Description
Client_ReceiveActiveWeapon ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveContusionTimeRemaining ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveWeaponVerticalAngle ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
CreateActiveWeaponAttachedObject ( ) : void
GetActiveWeapon ( ) : int
Server_SendContusionTimeRemainingToClients ( IList remoteEntityWorlds ) : void
Server_SendSetActiveWeaponToClients ( IList remoteEntityWorlds ) : void
Server_SendWeaponVerticalAngleToClients ( IList remoteEntityWorlds, float angle ) : void
Server_TickSendWeaponVerticalAngleToClients ( ) : void
SetActiveNextWeapon ( ) : void
SetActivePreviousWeapon ( ) : void
TickContusionTime ( ) : void
UpdateTPSArcadeLookDirection ( ) : void
WeaponTryFire ( bool alternative ) : void
WeaponTryReload ( ) : void
activeWeapon_PreFire ( Weapon entity, bool alternative ) : void

Method Details

ApplyChangeMapInformation() public méthode

public ApplyChangeMapInformation ( ChangeMapInformation information, SpawnPoint spawnPoint ) : void
information ChangeMapInformation
spawnPoint SpawnPoint
Résultat void

Client_OnTick() protected méthode

protected Client_OnTick ( ) : void
Résultat void

GetChangeMapInformation() public méthode

public GetChangeMapInformation ( MapChangeRegion region ) : ChangeMapInformation
region MapChangeRegion
Résultat ChangeMapInformation

GetWeaponIndex() public méthode

public GetWeaponIndex ( WeaponType weaponType ) : int
weaponType WeaponType
Résultat int

OnCopyTransform() protected méthode

protected OnCopyTransform ( MapObject from ) : void
from MapObject
Résultat void

OnIntellectCommand() protected méthode

protected OnIntellectCommand ( Intellect command ) : void
command Intellect
Résultat void

OnPostCreate() protected méthode

Overridden from Engine.EntitySystem.Entity.OnPostCreate(Boolean).
protected OnPostCreate ( bool loaded ) : void
loaded bool
Résultat void

OnRelatedEntityDelete() protected méthode

Overridden from Engine.EntitySystem.Entity.OnRelatedEntityDelete(Entity)
protected OnRelatedEntityDelete ( Entity entity ) : void
entity Entity
Résultat void

OnRender() protected méthode

Overridden from Engine.MapSystem.MapObject.OnRender(Camera).
protected OnRender ( Engine.Camera camera ) : void
camera Engine.Camera
Résultat void

OnTick() protected méthode

Overridden from Engine.EntitySystem.Entity.OnTick().
protected OnTick ( ) : void
Résultat void

Server_OnClientConnectedAfterPostCreate() protected méthode

protected Server_OnClientConnectedAfterPostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
Résultat void

SetActiveWeapon() public méthode

public SetActiveWeapon ( int index ) : bool
index int
Résultat bool

TakeBullets() public méthode

public TakeBullets ( BulletType bulletType, int count ) : bool
bulletType BulletType
count int
Résultat bool

TakeWeapon() public méthode

public TakeWeapon ( WeaponType weaponType ) : bool
weaponType WeaponType
Résultat bool