entity_spell_system/Queued/Messages/SimpleEventMsg.h
2019-04-20 14:02:55 +02:00

25 lines
497 B
C++

#pragma once
#include <System/System.h>
#include "SerializationBuffer.h"
using namespace System;
using namespace CxNetworking::Utils;
namespace BS {
namespace Networking {
struct SimpleEventMsg : public virtual ValueType
{
enum class EventType
{
Invalid,
TickSynced,
InitiateGame
};
SimpleEventMsg::EventType Event;
void Serialize(SerializationBuffer* buf);
void Deserialize(SerializationBuffer* buf);
SimpleEventMsg();
String* ToString();
};
}
}