forked from mirror/openmw-tes3mp
20 lines
427 B
C++
20 lines
427 B
C++
|
//
|
||
|
// Created by koncord on 08.03.16.
|
||
|
//
|
||
|
|
||
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||
|
#include "PacketCharGen.hpp"
|
||
|
|
||
|
mwmp::PacketCharGen::PacketCharGen(RakNet::RakPeerInterface *peer) : BasePacket(peer)
|
||
|
{
|
||
|
packetID = ID_GAME_CHARGEN;
|
||
|
}
|
||
|
|
||
|
void mwmp::PacketCharGen::Packet(RakNet::BitStream *bs, mwmp::BasePlayer *player, bool send)
|
||
|
{
|
||
|
BasePacket::Packet(bs, player, send);
|
||
|
|
||
|
RW(*player->CharGenStage(), send);
|
||
|
|
||
|
}
|