Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
GameEventStorageItem Class Reference

#include <server_response_containers.h>

Collaboration diagram for GameEventStorageItem:
[legend]

Public Types

enum  EventRecipient { SendToPrivate = 0x01 , SendToOthers = 0x02 }

Public Member Functions

 GameEventStorageItem (const ::google::protobuf::Message &_event, int _playerId, EventRecipients _recipients)
 ~GameEventStorageItem ()
const GameEvent & getGameEvent () const
EventRecipients getRecipients () const

Private Attributes

GameEvent * event
EventRecipients recipients

Member Enumeration Documentation

◆ EventRecipient

Enumerator
SendToPrivate 
SendToOthers 

Constructor & Destructor Documentation

◆ GameEventStorageItem()

GameEventStorageItem::GameEventStorageItem ( const ::google::protobuf::Message & _event,
int _playerId,
EventRecipients _recipients )
Here is the caller graph for this function:

◆ ~GameEventStorageItem()

GameEventStorageItem::~GameEventStorageItem ( )

Member Function Documentation

◆ getGameEvent()

const GameEvent & GameEventStorageItem::getGameEvent ( ) const
inlinenodiscard

◆ getRecipients()

EventRecipients GameEventStorageItem::getRecipients ( ) const
inlinenodiscard

Member Data Documentation

◆ event

GameEvent* GameEventStorageItem::event
private

◆ recipients

EventRecipients GameEventStorageItem::recipients
private

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