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).

Detailed Description

A single gameplay event produced by network input processing.

Member Data Documentation

◆ clientId

ClientId Event::clientId

Originating client identifier.

◆ movementIntent

InputSnapshot Event::movementIntent = {}

Used when type == Input.

◆ shotIntent

ShotIntentPayload Event::shotIntent = {}

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

◆ type

EventType Event::type

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