#include "Constants.h"
#include "EngineTypes.h"
#include "Stream.h"
#include "Datum.h"
Go to the source code of this file.
|
| enum class | NetMsgType : uint8_t {
Connect
, Accept
, Reject
, Disconnect
,
Kick
, Ready
, Spawn
, Destroy
,
Ping
, Replicate
, ReplicateScript
, Invoke
,
InvokeScript
, Broadcast
, Ack
, Count
} |
| |
◆ NET_MESSAGE_MAGIC_STR
| #define NET_MESSAGE_MAGIC_STR "OCTM" |
◆ NET_MSG_INTERFACE
| #define NET_MSG_INTERFACE |
( |
|
Name | ) |
|
Value: virtual void Read(
Stream& stream)
override; \
virtual void Write(
Stream& stream)
const override; \
virtual void Execute(
NetHost sender)
override; \
virtual NetMsgType GetType()
const override {
return NetMsgType::Name; }
NetMsgType
Definition NetMsg.h:21
Definition EngineTypes.h:489
◆ NET_MSG_INTERFACE_RELIABLE
| #define NET_MSG_INTERFACE_RELIABLE |
( |
|
Name | ) |
|
Value:
virtual bool IsReliable() const override { return true; }
#define NET_MSG_INTERFACE(Name)
Definition NetMsg.h:10
◆ NetMsgType
| Enumerator |
|---|
| Connect | |
| Accept | |
| Reject | |
| Disconnect | |
| Kick | |
| Ready | |
| Spawn | |
| Destroy | |
| Ping | |
| Replicate | |
| ReplicateScript | |
| Invoke | |
| InvokeScript | |
| Broadcast | |
| Ack | |
| Count | |