1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 02:15:33 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Player/PacketCharGen.cpp

20 lines
431 B
C++
Raw Normal View History

//
// Created by koncord on 08.03.16.
//
#include <components/openmw-mp/NetworkMessages.hpp>
#include "PacketCharGen.hpp"
2016-10-17 12:54:36 +00:00
mwmp::PacketCharGen::PacketCharGen(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
{
packetID = ID_GAME_CHARGEN;
}
void mwmp::PacketCharGen::Packet(RakNet::BitStream *bs, mwmp::BasePlayer *player, bool send)
{
2016-10-17 12:54:36 +00:00
PlayerPacket::Packet(bs, player, send);
RW(*player->CharGenStage(), send);
}