SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Classes | Typedefs | Enumerations | Functions | Variables
SEGSEvents Namespace Reference

Classes

class  AbortQueuedPower
 
class  ActivateInspiration
 
class  ActivatePower
 
class  ActivatePowerAtLocation
 
class  AddTimeStateLog
 
struct  AuthDbStatusData
 
class  AuthLinkEvent
 
class  AuthorizationError
 
class  AuthProtocolVersion
 
class  AwaitingDeadNoGurney
 
class  Browser
 
class  BrowserClose
 
class  BuyEnhancementSlot
 
class  ChangeStance
 
class  ChangeTitle
 
class  CharacterResponse
 
class  CharacterSlots
 
struct  CharacterUpdateData
 
class  ChatDividerMoved
 
class  ChatMessage
 
class  ChatReconfigure
 
struct  ClientConnectedData
 
struct  ClientDisconnectedData
 
struct  ClientMapXferData
 
class  ClientQuit
 
class  ClientResumedRendering
 
class  ClueList
 
class  CombineEnhancementsReq
 
class  CombineEnhanceResponse
 
class  Connect
 
class  ConnectRequest
 
class  ConnectResponse
 
class  ConsoleCommand
 
class  ConsoleOutput
 
class  ConsolePrint
 
class  ContactDialog
 
class  ContactDialogClose
 
class  ContactDialogOk
 
class  ContactDialogYesNo
 
class  ContactSelect
 
class  ContactStatusList
 
class  CookieRequest
 
struct  CostumeUpdateData
 
struct  CreateAccountData
 
struct  CreateNewCharacterRequestData
 
struct  CreateNewCharacterResponseData
 
class  CRUDLink_Event
 
class  DbError
 
class  DeadNoGurney
 
class  DeadNoGurneyOK
 
class  DeleteAcknowledged
 
class  DeleteCharacter
 
class  DescriptionAndBattleCry
 
class  DialogButton
 
class  Disconnect
 
class  DisconnectRequest
 
class  DisconnectResponse
 
class  DoorAnimExit
 
class  DoorAnimStart
 
class  DoorMessage
 
struct  EmailCreateRequestData
 
struct  EmailCreateResponseData
 
struct  EmailCreateStatusData
 
struct  EmailDeleteData
 
struct  EmailHeaderRequestData
 
struct  EmailHeaderResponseData
 
class  EmailHeaders
 
struct  EmailHeadersToClientData
 
struct  EmailHeaderToClientData
 
struct  EmailMarkAsReadData
 
class  EmailMessageStatus
 
class  EmailRead
 
struct  EmailReadRequestData
 
struct  EmailReadResponseData
 
struct  EmailRemoveData
 
struct  EmailSendData
 
struct  EmailSendErrorData
 
struct  EmailUpdateOnCharDeleteData
 
struct  EmailWasReadByRecipientData
 
class  EnterDoor
 
class  EntitiesRequest
 
class  EntitiesResponse
 
class  EntityInfoRequest
 
class  EntityInfoResponse
 
class  Event
 
struct  ExpectClientRequestData
 
struct  ExpectClientResponseData
 
struct  ExpectMapClientRequestData
 
struct  ExpectMapClientResponseData
 
class  FaceEntity
 
class  FaceLocation
 
struct  FillEmailRecipientIdErrorData
 
struct  FillEmailRecipientIdRequestData
 
struct  FillEmailRecipientIdResponseData
 
struct  Finish
 
class  FloatingDamage
 
class  FloatingInfo
 
class  ForceLogout
 
struct  FriendAddedData
 
struct  FriendConnectedData
 
struct  FriendRemovedData
 
class  FriendsListUpdate
 
struct  GameAccountRequestData
 
struct  GameAccountResponseCharacterData
 
struct  GameAccountResponseData
 
class  GameCommandEvent
 
struct  GameDbErrorData
 
class  GameEntryError
 
struct  GameServerStatusData
 
struct  GetEmailByRecipientIdRequestData
 
struct  GetEmailByRecipientIdResponseData
 
struct  GetEmailBySenderIdRequestData
 
struct  GetEmailBySenderIdResponseData
 
struct  GetEmailRequestData
 
struct  GetEmailResponseData
 
struct  GetEmailsRequestData
 
struct  GetEmailsResponseData
 
struct  GetEntityByNameRequestData
 
struct  GetEntityByNameResponseData
 
struct  GetEntityRequestData
 
struct  GetEntityResponseData
 
class  HasEnteredDoor
 
class  Idle
 
class  InfoMessageCmd
 
class  InitiateMapXfer
 
class  InspirationDockMode
 
class  InteractWithEntity
 
class  InternalEvent
 
class  LevelUp
 
class  LevelUpResponse
 
class  LocationVisited
 
class  LoginRequest
 
class  LoginResponse
 
class  MapInstanceConnected
 
class  MapServerAddrRequest
 
class  MapServerAddrResponse
 
struct  MapSwapCollisionData
 
class  MapXferComplete
 
class  MapXferList
 
class  MapXferListClose
 
class  MapXferRequest
 
class  MapXferWait
 
class  MiniMapState
 
class  MissionObjectiveTimer
 
class  MoveEnhancement
 
class  MoveInspiration
 
class  NewEntity
 a new entity entering a map More...
 
class  Packet
 
class  PlaqueVisited
 
struct  PlayerUpdateData
 
class  PowersDockMode
 
class  ReceiveContactStatus
 
class  ReceiveTaskDetailRequest
 
class  ReconnectAttempt
 
class  RecvCostumeChange
 
class  RecvInputState
 
class  RecvNewPower
 
class  RecvSelectedTitles
 
struct  ReloadConfigData
 
struct  RemoveCharacterRequestData
 
struct  RemoveCharacterResponseData
 
class  RemoveKeybind
 
class  ResetKeybinds
 
struct  RetrieveAccountRequestData
 
struct  RetrieveAccountResponseData
 
class  SaveClientOptions
 
class  Scene
 
class  SceneRequest
 
class  SelectKeybindProfile
 
struct  SendFriendListData
 
class  SendLeftovers
 
class  SendLocations
 
struct  SendNotifyFriendData
 
class  SendStance
 
class  SendWaypoint
 
class  ServerListRequest
 
class  ServerListResponse
 
class  ServerReconfigured
 
class  ServerSelectRequest
 
class  ServerSelectResponse
 
struct  ServiceStatusData
 The following messages are put on the global Message Bus, and published there for all subscribers to see. More...
 
struct  SetClientOptionsData
 
class  SetClientState
 
class  SetDefaultPower
 
class  SetDestination
 
class  SetEnhancement
 
class  SetKeybind
 
class  Shortcuts
 
class  ShortcutsRequest
 
class  SidekickOffer
 
class  SouvenirDetail
 
class  SouvenirDetailRequest
 
class  SouvenirListHeaders
 
class  StandardDialogCmd
 
class  StoreBuyItem
 
class  StoreOpen
 
class  StoreSellItem
 
class  SwitchTray
 
class  SwitchViewPoint
 
class  TailorOpen
 
class  TargetChatChannelSelected
 
class  TaskDetail
 
class  TaskListRemoveTeammates
 
class  TaskSelect
 
class  TaskStatusList
 
class  TeamLooking
 
class  TeamOffer
 
class  Timeout
 
class  TimeUpdate
 
class  TradeCancel
 
class  TradeInit
 
class  TradeOffer
 
class  TradeSuccess
 
class  TradeUpdate
 
class  TradeWasCancelledMessage
 
class  TradeWasUpdatedMessage
 
class  TrashEnhancement
 
class  TrashEnhancementInPower
 
class  TrayAdd
 
class  UnknownEvent
 
class  UnqueueAll
 
class  UnsetDefaultPower
 
class  UpdateCharacter
 
class  UpdateServer
 
struct  ValidatePasswordRequestData
 
struct  ValidatePasswordResponseData
 
class  WindowState
 
struct  WouldNameDuplicateRequestData
 
struct  WouldNameDuplicateResponseData
 

Typedefs

using GameLinkEvent = CRUDLink_Event
 
using MapLinkEvent = CRUDLink_Event
 

Enumerations

enum  CommonTypes : uint32_t {
  evFinish =0, evConnect =1, evDisconnect =2, evTimeout =3,
  ID_LAST_CommonTypes
}
 
enum  CRUD_EventTypes : uint32_t {
  evPacket, evControlEvent, evDisconnectRequest, evIdle,
  evUnknownEvent, evDisconnectResponse, evConnectRequest, evConnectResponse
}
 
enum  AuthEventTypes {
  evSendLeftovers =CommonTypes::ID_LAST_CommonTypes, evAuthProtocolVersion, evAuthorizationError, evServerSelectRequest,
  evDbError, evReconnectAttempt, evLoginRequest, evLoginResponse,
  evServerListResponse, evServerListRequest, evServerSelectResponse
}
 
enum  AuthDBEventTypes : uint32_t {
  evRetrieveAccountRequest = Internal_EventTypes::ID_LAST_Internal_EventTypes, evRetrieveAccountResponse, evValidatePasswordRequest, evValidatePasswordResponse,
  evCreateAccountMessage, evAuthDbStatusMessage
}
 
enum  EmailEventTypes : uint32_t {
  evEmailHeadersToClientMessage = Internal_EventTypes::ID_LAST_Internal_EventTypes, evEmailHeaderToClientMessage, evEmailHeaderRequest, evEmailHeaderResponse,
  evEmailReadRequest, evEmailReadResponse, evEmailSendMessage, evEmailSendErrorMessage,
  evEmailCreateStatusMessage, evEmailDeleteMessage, evEmailWasReadByRecipientMessage
}
 
enum  FriendHandlerEventTypes : uint32_t {
  evFriendConnectedMessage = Internal_EventTypes::ID_LAST_Internal_EventTypes, evSendFriendListMessage, evSendNotifyFriendMessage, evFriendAddedMessage,
  evFriendRemovedMessage
}
 
enum  GameEventTypes {
  evUpdateServer, evMapServerAddrRequest, evDeleteCharacter, evUpdateCharacter,
  evGameEntryError, evCharacterSlots, evCharacterResponse, evMapServerAddrResponse,
  evDeleteAcknowledged, evServerReconfigured = evDeleteAcknowledged+100
}
 
enum  GameDBEventTypes : uint32_t {
  evCharacterUpdateMessage, evSetClientOptionsMessage, evCostumeUpdateMessage, evGuiUpdateMessage,
  evOptionsUpdateMessage, evKeybindsUpdateMessage, evPlayerUpdateMessage, evRemoveCharacterRequest,
  evRemoveCharacterResponse, evGameAccountRequest, evGameAccountResponse, evWouldNameDuplicateRequest,
  evWouldNameDuplicateResponse, evCreateNewCharacterRequest, evCreateNewCharacterResponse, evSetCharacterRequest,
  evSetCharacterResponse, evGetEntityRequest, evGetEntityResponse, evGetEntityByNameRequest,
  evGetEntityByNameResponse, evEmailCreateRequest, evEmailCreateResponse, evEmailMarkAsReadMessage,
  evEmailUpdateOnCharDeleteMessage, evEmailRemoveMessage, evGetEmailRequest, evGetEmailResponse,
  evGetEmailsRequest, evGetEmailsResponse, evGetEmailBySenderIdRequest, evGetEmailBySenderIdResponse,
  evGetEmailByRecipientIdRequest, evGetEmailByRecipientIdResponse, evFillEmailRecipientIdRequest, evFillEmailRecipientIdResponse,
  evFillEmailRecipientIdErrorMessage, evGameDbErrorMessage
}
 
enum  MapEventTypes { EVENT_DECL }
 
enum  Internal_EventTypes {
  evExpectClientRequest, evExpectClientResponse, evExpectMapClientRequest, evExpectMapClientResponse,
  evClientConnectionRequest, evClientConnectionResponse, evReloadConfigMessage, evClientMapXferMessage,
  evMapSwapCollisionMessage, evGameServerStatusMessage = evReloadConfigMessage+4, evMapServerStatusMessage, evServiceStatusMessage = evExpectClientRequest+101,
  evClientConnectedMessage, evClientDisconnectedMessage
}
 

Functions

void register_event_type (const char *name, uint32_t type_id, std::function< Event *()> constructor)
 
Eventcreate_by_id (uint32_t type_id, EventSrc *src)
 
Eventcreate_by_name (const char *name, EventSrc *src)
 
const char * event_name (uint32_t type_id)
 
Eventfrom_storage (std::istream &istr)
 
void to_storage (std::ostream &ostr, Event *ev)
 

Variables

const QString EMPTY_STRING = "EMPTY"
 

Typedef Documentation

◆ GameLinkEvent

◆ MapLinkEvent

Enumeration Type Documentation

◆ AuthDBEventTypes

Enumerator
evRetrieveAccountRequest 
evRetrieveAccountResponse 
evValidatePasswordRequest 
evValidatePasswordResponse 
evCreateAccountMessage 
evAuthDbStatusMessage 

◆ AuthEventTypes

Enumerator
evSendLeftovers 
evAuthProtocolVersion 
evAuthorizationError 
evServerSelectRequest 
evDbError 
evReconnectAttempt 
evLoginRequest 
evLoginResponse 
evServerListResponse 
evServerListRequest 
evServerSelectResponse 

◆ CommonTypes

enum SEGSEvents::CommonTypes : uint32_t
Enumerator
evFinish 
evConnect 
evDisconnect 

on the link level this means a new connection, higher level handlers are also notified by this event

evTimeout 
ID_LAST_CommonTypes 

◆ CRUD_EventTypes

enum SEGSEvents::CRUD_EventTypes : uint32_t
Enumerator
evPacket 
evControlEvent 
evDisconnectRequest 
evIdle 
evUnknownEvent 
evDisconnectResponse 
evConnectRequest 
evConnectResponse 

◆ EmailEventTypes

enum SEGSEvents::EmailEventTypes : uint32_t
Enumerator
evEmailHeadersToClientMessage 
evEmailHeaderToClientMessage 
evEmailHeaderRequest 
evEmailHeaderResponse 
evEmailReadRequest 
evEmailReadResponse 
evEmailSendMessage 
evEmailSendErrorMessage 
evEmailCreateStatusMessage 
evEmailDeleteMessage 
evEmailWasReadByRecipientMessage 

◆ FriendHandlerEventTypes

Enumerator
evFriendConnectedMessage 
evSendFriendListMessage 
evSendNotifyFriendMessage 
evFriendAddedMessage 
evFriendRemovedMessage 

◆ GameDBEventTypes

Enumerator
evCharacterUpdateMessage 
evSetClientOptionsMessage 
evCostumeUpdateMessage 
evGuiUpdateMessage 
evOptionsUpdateMessage 
evKeybindsUpdateMessage 
evPlayerUpdateMessage 
evRemoveCharacterRequest 
evRemoveCharacterResponse 
evGameAccountRequest 
evGameAccountResponse 
evWouldNameDuplicateRequest 
evWouldNameDuplicateResponse 
evCreateNewCharacterRequest 
evCreateNewCharacterResponse 
evSetCharacterRequest 
evSetCharacterResponse 
evGetEntityRequest 
evGetEntityResponse 
evGetEntityByNameRequest 
evGetEntityByNameResponse 
evEmailCreateRequest 
evEmailCreateResponse 
evEmailMarkAsReadMessage 
evEmailUpdateOnCharDeleteMessage 
evEmailRemoveMessage 
evGetEmailRequest 
evGetEmailResponse 
evGetEmailsRequest 
evGetEmailsResponse 
evGetEmailBySenderIdRequest 
evGetEmailBySenderIdResponse 
evGetEmailByRecipientIdRequest 
evGetEmailByRecipientIdResponse 
evFillEmailRecipientIdRequest 
evFillEmailRecipientIdResponse 
evFillEmailRecipientIdErrorMessage 
evGameDbErrorMessage 

◆ GameEventTypes

Enumerator
evUpdateServer 
evMapServerAddrRequest 
evDeleteCharacter 
evUpdateCharacter 
evGameEntryError 
evCharacterSlots 
evCharacterResponse 
evMapServerAddrResponse 
evDeleteAcknowledged 
evServerReconfigured 

◆ Internal_EventTypes

Enumerator
evExpectClientRequest 
evExpectClientResponse 
evExpectMapClientRequest 
evExpectMapClientResponse 
evClientConnectionRequest 
evClientConnectionResponse 
evReloadConfigMessage 
evClientMapXferMessage 
evMapSwapCollisionMessage 
evGameServerStatusMessage 
evMapServerStatusMessage 
evServiceStatusMessage 
evClientConnectedMessage 
evClientDisconnectedMessage 

◆ MapEventTypes

Enumerator
EVENT_DECL 

Function Documentation

◆ create_by_id()

Event * SEGSEvents::create_by_id ( uint32_t  type_id,
EventSrc src 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_by_name()

Event * SEGSEvents::create_by_name ( const char *  name,
EventSrc src 
)
Here is the call graph for this function:

◆ event_name()

const char * SEGSEvents::event_name ( uint32_t  type_id)
Here is the caller graph for this function:

◆ from_storage()

Event * SEGSEvents::from_storage ( std::istream &  istr)
Here is the call graph for this function:

◆ register_event_type()

void SEGSEvents::register_event_type ( const char *  name,
uint32_t  type_id,
std::function< Event *()>  constructor 
)

◆ to_storage()

void SEGSEvents::to_storage ( std::ostream &  ostr,
Event ev 
)
Here is the call graph for this function:

Variable Documentation

◆ EMPTY_STRING

const QString SEGSEvents::EMPTY_STRING = "EMPTY"