RType
Classes | Typedefs | Enumerations
USocket.hpp File Reference
#include <cstdint>
#include <memory>
#include <string>
#include <sys/time.h>
Include dependency graph for USocket.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  key
 
struct  mouse
 
struct  event
 
struct  packet
 
union  attribute
 
struct  drawable
 
struct  newComponent
 
struct  element
 
struct  split_packet
 
class  USocket
 

Typedefs

typedef enum code CODE
 Enum of all the code of the packet. More...
 
typedef struct key Key
 
typedef struct mouse Mouse
 
typedef struct event Event
 
typedef struct packet Packet
 
typedef union attribute attribute_t
 
typedef struct drawable DrawablePacket
 
typedef struct newComponent NewComponent
 
typedef enum type Type
 
typedef struct element Element
 
typedef struct split_packet SplitPacket
 

Enumerations

enum  code {
  UNDEFINED , EVENT , MESSAGE , LOGIN ,
  LOGOUT , HEARTBEAT , ELEMENT , NEW_COMPONENT ,
  DELETE_COMPONENT
}
 Enum of all the code of the packet. More...
 
enum  ComponentTypeSocket {
  TEXTSOCKET , SPRITESOCKET , BUTTONSOCKET , INPUTSOCKET ,
  VARIABLESOCKET , MUSICSOCKET , SOUNDSOCKET
}
 Enum of all the type of the component. More...
 
enum  type {
  MISSINGTXT , PLAYER , ENEMY , BOSS ,
  BOSS_BULLET , BULLET , BACKGROUND1 , BACKGROUND2 ,
  BACKGROUND3 , BACKGROUND4 , FLOOR_BACKGROUND , ROOF_BACKGROUND
}
 

Typedef Documentation

◆ attribute_t

typedef union attribute attribute_t

◆ CODE

typedef enum code CODE

Enum of all the code of the packet.

◆ DrawablePacket

typedef struct drawable DrawablePacket

◆ Element

typedef struct element Element

◆ Event

typedef struct event Event

◆ Key

typedef struct key Key

◆ Mouse

typedef struct mouse Mouse

◆ NewComponent

typedef struct newComponent NewComponent

◆ Packet

typedef struct packet Packet

◆ SplitPacket

typedef struct split_packet SplitPacket

◆ Type

typedef enum type Type

Enumeration Type Documentation

◆ code

enum code

Enum of all the code of the packet.

Enumerator
UNDEFINED 
EVENT 
MESSAGE 
LOGIN 
LOGOUT 
HEARTBEAT 
ELEMENT 
NEW_COMPONENT 
DELETE_COMPONENT 

Definition at line 33 of file USocket.hpp.

◆ ComponentTypeSocket

Enum of all the type of the component.

Enumerator
TEXTSOCKET 
SPRITESOCKET 
BUTTONSOCKET 
INPUTSOCKET 
VARIABLESOCKET 
MUSICSOCKET 
SOUNDSOCKET 

Definition at line 48 of file USocket.hpp.

◆ type

enum type
Enumerator
MISSINGTXT 
PLAYER 
ENEMY 
BOSS 
BOSS_BULLET 
BULLET 
BACKGROUND1 
BACKGROUND2 
BACKGROUND3 
BACKGROUND4 
FLOOR_BACKGROUND 
ROOF_BACKGROUND 

Definition at line 119 of file USocket.hpp.