Photon Server API Documentation
v5.0RC1
Represents the value of a counter calculated at a specific time. More...
Public Member Functions | |
| CounterSample (float value) | |
| Initializes a new instance of the CounterSample struct. The Timestamp property is set to DateTime.UtcNow. More... | |
| CounterSample (DateTime timestamp, float value) | |
| Initializes a new instance of the CounterSample struct. More... | |
Public Attributes | |
| readonly DateTime | Timestamp |
| Gets the timestamp of the counter sample. More... | |
| readonly float | Value |
| Gets the calculated value of the counter. More... | |
Represents the value of a counter calculated at a specific time.
|
inline |
Initializes a new instance of the CounterSample struct. The Timestamp property is set to DateTime.UtcNow.
| value | The calculated value of the counter. |
|
inline |
Initializes a new instance of the CounterSample struct.
| timestamp | The timestamp of the counter sample. |
| value | The calculated value of the counter. |
| readonly DateTime ExitGames.Diagnostics.Counter.CounterSample.Timestamp |
Gets the timestamp of the counter sample.
| readonly float ExitGames.Diagnostics.Counter.CounterSample.Value |
Gets the calculated value of the counter.