SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
FloatingDamage Class Referencefinal

#include <FloatingDamage.h>

Inheritance diagram for FloatingDamage:
Inheritance graph
Collaboration diagram for FloatingDamage:
Collaboration graph

Public Member Functions

 FloatingDamage (int source, int target, int amount)
 
void serializeto (BitStream &bs) const override
 
void serializefrom (BitStream &src)
 
- Public Member Functions inherited from GameCommand
 GameCommand (uint32_t type)
 
virtual ~GameCommand ()=default
 
uint32_t type () const
 

Public Attributes

int whos_fault_was_it
 
int who_was_damaged
 
int damage_amount
 

Constructor & Destructor Documentation

FloatingDamage::FloatingDamage ( int  source,
int  target,
int  amount 
)
inline

Member Function Documentation

void FloatingDamage::serializefrom ( BitStream src)
void FloatingDamage::serializeto ( BitStream bs) const
inlineoverridevirtual

Implements GameCommand.

Here is the call graph for this function:

Member Data Documentation

int FloatingDamage::damage_amount
int FloatingDamage::who_was_damaged
int FloatingDamage::whos_fault_was_it

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