SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Enumerations | Functions
Entity.h File Reference
#include "CommonNetStructures.h"
#include "Powers.h"
#include "Costume.h"
#include "Team.h"
#include "FixedPointValue.h"
#include "Common/GameData/entitydata_definitions.h"
#include "Common/GameData/chardata_definitions.h"
#include <glm/gtx/quaternion.hpp>
#include <glm/gtc/constants.hpp>
#include <array>
#include <memory>
Include dependency graph for Entity.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AngleRadians
 
class  PosUpdate
 
class  InputStateStorage
 
struct  CharacterFromDB
 
struct  SuperGroup
 
struct  NPCData
 
class  Entity
 
struct  Entity::currentInputState
 

Typedefs

using Parse_AllKeyProfiles = std::vector< struct Keybind_Profiles >
 

Enumerations

enum  FadeDirection { FadeDirection::In, FadeDirection::Out }
 
enum  EntType : uint8_t {
  EntType::Invalid = 0, EntType::NPC = 1, EntType::PLAYER = 2, EntType::HERO = 3,
  EntType::CRITTER = 4, EntType::CAR = 5, EntType::DELIVERYTARGET = 6, EntType::MOBILEGEOMETRY = 7,
  EntType::MISSION_ITEM = 8, EntType::MAPXFERDOOR = 9, EntType::DOOR = 10, EntType::COUNT = 11
}
 
enum  AppearanceType : uint8_t {
  AppearanceType::None = 0, AppearanceType::WholeCostume = 1, AppearanceType::NpcCostume = 2, AppearanceType::VillainIndex = 3,
  AppearanceType::SequencerName = 4
}
 
enum  DbStoreFlags : uint32_t {
  DbStoreFlags::Gui = 1, DbStoreFlags::Options = 2, DbStoreFlags::Keybinds = 4, DbStoreFlags::PlayerData = 7,
  DbStoreFlags::Full = ~0U
}
 

Functions

void markEntityForDbStore (Entity *e, DbStoreFlags f)
 
void initializeNewPlayerEntity (Entity &e)
 
void initializeNewNpcEntity (Entity &e, const Parse_NPC *src, int idx, int variant)
 
void fillEntityFromNewCharData (Entity &e, BitStream &src, const ColorAndPartPacker *packer, const Parse_AllKeyProfiles &default_profiles)
 
void abortLogout (Entity *e)
 

Typedef Documentation

using Parse_AllKeyProfiles = std::vector<struct Keybind_Profiles>

Enumeration Type Documentation

enum AppearanceType : uint8_t
strong
Enumerator
None 
WholeCostume 
NpcCostume 
VillainIndex 
SequencerName 
enum DbStoreFlags : uint32_t
strong
Enumerator
Gui 
Options 
Keybinds 
PlayerData 
Full 
enum EntType : uint8_t
strong
Enumerator
Invalid 
NPC 
PLAYER 
HERO 
CRITTER 
CAR 
DELIVERYTARGET 
MOBILEGEOMETRY 
MISSION_ITEM 
MAPXFERDOOR 
DOOR 
COUNT 
enum FadeDirection
strong
Enumerator
In 
Out