C# Class GameEntities.MeleeWeapon

Inheritance: Weapon
Afficher le fichier Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Свойство Type Description
Client_ReceiveFireEvent void
Client_ReceiveSoundPlayKick void
OnFire void
Server_SendFireEventToAllClients void
Server_SendSoundPlayKickToAllClients void

Méthodes publiques

Méthode Description
GetFirePosition ( bool alternative ) : Vec3
GetFireRotation ( bool alternative ) : Quat
TryFire ( bool alternative ) : bool

Méthodes protégées

Méthode Description
Blow ( ) : void
Fire ( bool alternative ) : void
OnLoad ( TextBlock block ) : bool
OnPostCreate ( bool loaded ) : void

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

OnSave ( TextBlock block ) : void
OnTick ( ) : void

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

Private Methods

Méthode Description
Client_ReceiveFireEvent ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Client_ReceiveSoundPlayKick ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
OnFire ( MeleeWeaponType typeMode ) : void
Server_SendFireEventToAllClients ( bool alternative ) : void
Server_SendSoundPlayKickToAllClients ( bool alternative ) : void

Method Details

Blow() protected méthode

protected Blow ( ) : void
Résultat void

Fire() protected méthode

protected Fire ( bool alternative ) : void
alternative bool
Résultat void

GetFirePosition() public méthode

public GetFirePosition ( bool alternative ) : Vec3
alternative bool
Résultat Vec3

GetFireRotation() public méthode

public GetFireRotation ( bool alternative ) : Quat
alternative bool
Résultat Quat

OnLoad() protected méthode

protected OnLoad ( TextBlock block ) : bool
block TextBlock
Résultat bool

OnPostCreate() protected méthode

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

OnSave() protected méthode

protected OnSave ( TextBlock block ) : void
block TextBlock
Résultat void

OnTick() protected méthode

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

TryFire() public méthode

public TryFire ( bool alternative ) : bool
alternative bool
Résultat bool