Photon Server API
Public Member Functions | Properties | List of all members
Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter Class Reference
Inheritance diagram for Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter:
ExitGames.Diagnostics.Counter.ICounter

Public Member Functions

 NetworkInterfaceCounter (string name, string counter)
 
long Decrement ()
 Decrements the counter by one. More...
 
float GetNextValue ()
 Gets the next value. More...
 
long Increment ()
 Increments the counter by one and returns the new value. More...
 
long IncrementBy (long value)
 Increments the counter by a given value. More...
 

Properties

string Name [get]
 
CounterType CounterType [get]
 
- Properties inherited from ExitGames.Diagnostics.Counter.ICounter
CounterType CounterType [get]
 Gets the type of the counter. More...
 
string Name [get]
 Gets the name of the counter. More...
 

Constructor & Destructor Documentation

Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter.NetworkInterfaceCounter ( string  name,
string  counter 
)
inline

Member Function Documentation

long Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter.Decrement ( )
inline

Decrements the counter by one.

Returns
The decremented value.

Implements ExitGames.Diagnostics.Counter.ICounter.

float Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter.GetNextValue ( )
inline

Gets the next value.

Returns
The get next value.

Implements ExitGames.Diagnostics.Counter.ICounter.

long Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter.Increment ( )
inline

Increments the counter by one and returns the new value.

Returns
The incremented value.

Implements ExitGames.Diagnostics.Counter.ICounter.

long Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter.IncrementBy ( long  value)
inline

Increments the counter by a given value.

Parameters
valueThe value to be added to the counter.
Returns
The incremented value.

Implements ExitGames.Diagnostics.Counter.ICounter.

Property Documentation

CounterType Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter.CounterType
get
string Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter.Name
get