Photon Server API Documentation
v5.0RC1
Public Member Functions | |
| 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... | |
| long | Decrement () |
| Decrements the counter by one. More... | |
Static Public Attributes | |
| static readonly ICounter | Instance = new EmptyCounter() |
Properties | |
| string | Name [get] |
| CounterType | CounterType [get] |
| bool | IsValid [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... | |
| bool | IsValid [get] |
| Returns whether counter is valid or not For WindowsPerfCounters this method may return value whether counter exists or not More... | |
|
inline |
Decrements the counter by one.
Implements ExitGames.Diagnostics.Counter.ICounter.
|
inline |
|
inline |
Increments the counter by one and returns the new value.
Implements ExitGames.Diagnostics.Counter.ICounter.
|
inline |
Increments the counter by a given value.
| value | The value to be added to the counter. |
Implements ExitGames.Diagnostics.Counter.ICounter.
|
static |
|
get |
|
get |
|
get |