C# Class GameEntities.FloatSwitch

Defines the user quantitative switches.
Inheritance: Switch
显示文件 Open project: DarrenHassan/GDM4242-GroupD

Private Properties

Property Type Description
Client_ReceiveValue void
Server_ReceiveUseEnd void
Server_ReceiveUseStart void
Server_SendValueToClients void

Public Methods

Method Description
UseEnd ( ) : void
UseStart ( ) : void

Protected Methods

Method Description
OnPostCreate ( bool loaded ) : void

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

OnTick ( ) : void

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

Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void

Private Methods

Method Description
Client_ReceiveValue ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_ReceiveUseEnd ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_ReceiveUseStart ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void
Server_SendValueToClients ( IList remoteEntityWorlds ) : void

Method Details

OnPostCreate() protected method

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

OnTick() protected method

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

Server_OnClientConnectedBeforePostCreate() protected method

protected Server_OnClientConnectedBeforePostCreate ( RemoteEntityWorld remoteEntityWorld ) : void
remoteEntityWorld RemoteEntityWorld
return void

UseEnd() public method

public UseEnd ( ) : void
return void

UseStart() public method

public UseStart ( ) : void
return void