Dragonfly 4.21
A text-based game engine
Public Member Functions | Private Attributes | List of all members
df::EventNetwork Class Reference
Inheritance diagram for df::EventNetwork:
Inheritance graph

Public Member Functions

 EventNetwork (NetworkEventLabel label)
 
void setLabel (NetworkEventLabel new_label)
 
NetworkEventLabel getLabel () const
 
void setSocket (int new_sock)
 
int getSocket () const
 
void setBytes (int new_bytes)
 
int getBytes () const
 
void setMessage (void *p_new_buff)
 
void * getMessage () const
 
- Public Member Functions inherited from df::Event
 Event ()
 
virtual ~Event ()
 
void setType (std::string new_type)
 
std::string getType () const
 

Private Attributes

NetworkEventLabel m_label
 
int m_sock
 
int m_bytes
 
void * m_p_buff