Leviathan  0.8.0.0
Leviathan game engine
Leviathan::BaseEventData Class Referenceabstract

Base type for all event data types. More...

#include <Event.h>

+ Inheritance diagram for Leviathan::BaseEventData:

Public Member Functions

virtual void AddDataToPacket (sf::Packet &packet)=0
 Adds this to a packet for retrieving it later. More...
 
virtual ~BaseEventData ()
 

Detailed Description

Base type for all event data types.

Note
Child classes constructors should contain one for creating from a packet

Definition at line 59 of file Event.h.

Constructor & Destructor Documentation

◆ ~BaseEventData()

BaseEventData::~BaseEventData ( )
virtual

Definition at line 223 of file Event.cpp.

223 {}

Member Function Documentation

◆ AddDataToPacket()

virtual void Leviathan::BaseEventData::AddDataToPacket ( sf::Packet &  packet)
pure virtual

Adds this to a packet for retrieving it later.

Implemented in Leviathan::IntegerEventData, and Leviathan::ClientInterpolationEventData.


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