demboyz/demboyz/netmessages/svc_gameevent.h

19 lines
305 B
C
Raw Permalink Normal View History

#pragma once
#include "nethandlers.h"
2016-04-28 04:31:33 +02:00
#include "game/gameevents.h"
#include <memory>
namespace NetMsg
{
struct SVC_GameEvent
{
2016-04-28 04:31:33 +02:00
GameEvents::EventDataMap eventData;
std::unique_ptr<uint8_t[]> data;
uint16_t dataLengthInBits;
};
}
DECLARE_NET_HANDLERS(SVC_GameEvent);