Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
SharedObject Class Reference

Representation of the Object class used by ServerGameState, containing exactly the subset of Object data required by the client. More...

#include <sharedobject.hpp>

Public Member Functions

 SharedObject ()
 
 ~SharedObject ()
 
 DEF_SERIALIZE (Archive &ar, const unsigned int version)
 

Data Fields

EntityID globalID
 
ObjectType type
 
SharedPhysics physics
 
ModelType modelType
 
AnimState animState
 
boost::optional< SharedStatsstats
 
boost::optional< SharedItemInfoiteminfo
 
boost::optional< SharedSolidSurfacesolidSurface
 
boost::optional< SharedTrapInfotrapInfo
 
boost::optional< SharedPlayerInfoplayerInfo
 
boost::optional< SharedInventoryinventoryInfo
 
boost::optional< SharedTrapInventorytrapInventoryInfo
 
boost::optional< SharedPointLightInfopointLightInfo
 
boost::optional< SharedStatusesstatuses
 
boost::optional< SharedExitexit
 
boost::optional< SharedWeaponInfoweaponInfo
 
boost::optional< SharedDMInfoDMInfo
 
boost::optional< SharedCompasscompass
 

Detailed Description

Representation of the Object class used by ServerGameState, containing exactly the subset of Object data required by the client.

Constructor & Destructor Documentation

◆ SharedObject()

SharedObject::SharedObject ( )
inline

◆ ~SharedObject()

SharedObject::~SharedObject ( )
inline

Member Function Documentation

◆ DEF_SERIALIZE()

SharedObject::DEF_SERIALIZE ( Archive &  ar,
const unsigned int  version 
)
inline

Field Documentation

◆ animState

AnimState SharedObject::animState

◆ compass

boost::optional<SharedCompass> SharedObject::compass

◆ DMInfo

boost::optional<SharedDMInfo> SharedObject::DMInfo

◆ exit

boost::optional<SharedExit> SharedObject::exit

◆ globalID

EntityID SharedObject::globalID

◆ inventoryInfo

boost::optional<SharedInventory> SharedObject::inventoryInfo

◆ iteminfo

boost::optional<SharedItemInfo> SharedObject::iteminfo

◆ modelType

ModelType SharedObject::modelType

◆ physics

SharedPhysics SharedObject::physics

◆ playerInfo

boost::optional<SharedPlayerInfo> SharedObject::playerInfo

◆ pointLightInfo

boost::optional<SharedPointLightInfo> SharedObject::pointLightInfo

◆ solidSurface

boost::optional<SharedSolidSurface> SharedObject::solidSurface

◆ stats

boost::optional<SharedStats> SharedObject::stats

◆ statuses

boost::optional<SharedStatuses> SharedObject::statuses

◆ trapInfo

boost::optional<SharedTrapInfo> SharedObject::trapInfo

◆ trapInventoryInfo

boost::optional<SharedTrapInventory> SharedObject::trapInventoryInfo

◆ type

ObjectType SharedObject::type

◆ weaponInfo

boost::optional<SharedWeaponInfo> SharedObject::weaponInfo

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