-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEventTransmissionData.h
More file actions
52 lines (40 loc) · 869 Bytes
/
EventTransmissionData.h
File metadata and controls
52 lines (40 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef __PrimeEngineEventTransmissionData_H__
#define __PrimeEngineEventTransmissionData_H__
// API Abstraction
#include "PrimeEngine/APIAbstraction/APIAbstractionDefines.h"
// Outer-Engine includes
#include <assert.h>
#include <vector>
#include <deque>
// Inter-Engine includes
#include "../Events/Component.h"
extern "C"
{
#include "../../luasocket_dist/src/socket.h"
};
#include "PrimeEngine/Networking/NetworkContext.h"
#include "PrimeEngine/Utils/Networkable.h"
// Sibling/Children includes
namespace PE {
namespace Components
{
struct Component;
};
namespace Events
{
struct Event;
};
struct EventTransmissionData
{
bool m_isGuaranteed;
int m_size;
int m_orderId;
char m_payload[PE_MAX_EVENT_PAYLOAD];
};
struct EventReceptionData
{
Components::Component *m_pTargetComponent;
PE::Events::Event *m_pEvent;
};
}; // namespace PE
#endif