group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
Event Class Reference

A single gameplay event produced by network input processing. More...

#include <Event.hpp>

Collaboration diagram for Event:
[legend]

Public Attributes

ClientId clientId
 Originating client identifier.
EventType type
InputSnapshot movementIntent = {}
 Used when type == Input.
ShotIntentPayload shotIntent = {}
 Used when type == ShotIntent (PR-27).
TextChatPayload textChat = {}
 Used when type == TextChat.
VoiceFramePayload voiceFrame = {}
 Used when type == VoiceFrame.
MatchConfig matchConfig = {}
 Used when type == MatchConfigUpdated.
DiscoverySettings discoverySettings = {}
 Used when type == DiscoverySettingsUpdated.
bool physicsDiagRecording = false
 Used when type == PhysicsDiagRecording.

Detailed Description

A single gameplay event produced by network input processing.

Member Data Documentation

◆ clientId

ClientId Event::clientId

Originating client identifier.

◆ discoverySettings

DiscoverySettings Event::discoverySettings = {}

Used when type == DiscoverySettingsUpdated.

◆ matchConfig

MatchConfig Event::matchConfig = {}

Used when type == MatchConfigUpdated.

◆ movementIntent

InputSnapshot Event::movementIntent = {}

Used when type == Input.

◆ physicsDiagRecording

bool Event::physicsDiagRecording = false

Used when type == PhysicsDiagRecording.

◆ shotIntent

ShotIntentPayload Event::shotIntent = {}

Used when type == ShotIntent (PR-27).

◆ textChat

TextChatPayload Event::textChat = {}

Used when type == TextChat.

◆ type

EventType Event::type

◆ voiceFrame

VoiceFramePayload Event::voiceFrame = {}

Used when type == VoiceFrame.


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