EGDL2 2.1
Loading...
Searching...
No Matches
Enablegames.BoolParameter Class Reference

Represents a boolean parameter used in a game. More...

Inheritance diagram for Enablegames.BoolParameter:
Collaboration diagram for Enablegames.BoolParameter:

Public Member Functions

override void AssignValue (float newVal)
 Assigns a value to the BoolParameter based on the input newVal.
 
override bool AllowNetworkSync ()
 Determines whether the BoolParameter allows network synchronization.
 
override float NetworkValue ()
 Return the value to be used for Network Synchronization.
 

Additional Inherited Members

- Protected Member Functions inherited from Enablegames.GameParameter
GetServerOverride< T > (T current)
 Overrides the current value of a parameter with the value fetched from the server, if available.
 

Detailed Description

Represents a boolean parameter used in a game.

Member Function Documentation

◆ AllowNetworkSync()

override bool Enablegames.BoolParameter.AllowNetworkSync ( )
inline

Determines whether the BoolParameter allows network synchronization.

Returns
Returns true if the BoolParameter allows network synchronization, otherwise false.

◆ AssignValue()

override void Enablegames.BoolParameter.AssignValue ( float newVal)
inline

Assigns a value to the BoolParameter based on the input newVal.

Parameters
newValThe value to assign to the BoolParameter.

◆ NetworkValue()

override float Enablegames.BoolParameter.NetworkValue ( )
inline

Return the value to be used for Network Synchronization.

Inherits from the abstract class GameParameter and implements the necessary methods.


The documentation for this class was generated from the following file: