Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
GameEventStorageItem Class Reference

#include <server_response_containers.h>

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 )

◆ ~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: