|
group2 0.1.0
CSE 125 Group 2
|
Server-side gameplay event type identifiers. More...
Go to the source code of this file.
Enumerations | |
| enum class | EventType { Connected , Disconnected , Input , PlayerReady , PlayerUnready , StartMatchRequested , CancelStartMatchRequested , ShotIntent , TextChat , VoiceFrame , PhysicsDiagRecording , MatchConfigUpdated , DiscoverySettingsUpdated , ServerShutdownRequested , GameplayReady } |
| Enumeration of gameplay event types for server-side queueing. More... | |
Server-side gameplay event type identifiers.
|
strong |
Enumeration of gameplay event types for server-side queueing.
| Enumerator | |
|---|---|
| Connected | A new client has connected. |
| Disconnected | A client has disconnected. |
| Input | A client has sent an input snapshot. |
| PlayerReady | A client has marked themselves ready in the lobby. |
| PlayerUnready | A client has marked themselves unready in the lobby. |
| StartMatchRequested | A client has requested a host-started match transition. |
| CancelStartMatchRequested | A client has canceled an active host-started match transition. |
| ShotIntent | PR-27: client has reported its view of the target's animation state for a single shot (rising-edge of shooting). The server pairs this with the shooter's INPUT for the same shotInputTick and computes anim-state delta vs its own historical snapshot at the rewound tick. |
| TextChat | Client submitted a bounded all-chat message. |
| VoiceFrame | Client submitted one Opus voice frame for proximity routing. |
| PhysicsDiagRecording | Client toggled authoritative physics CSV recording. |
| MatchConfigUpdated | Client proposed a new match config (e.g. kill threshold). |
| DiscoverySettingsUpdated | Client proposed new discovery advertisement settings. |
| ServerShutdownRequested | Client requested server shutdown. |
| GameplayReady | Client finished initializing game. |