forked from teamnwah/openmw-tes3coop
20 lines
454 B
C++
20 lines
454 B
C++
|
//
|
||
|
// Created by koncord on 08.03.16.
|
||
|
//
|
||
|
|
||
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||
|
#include "PacketPlayerCharGen.hpp"
|
||
|
|
||
|
mwmp::PacketPlayerCharGen::PacketPlayerCharGen(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
|
||
|
{
|
||
|
packetID = ID_PLAYER_CHARGEN;
|
||
|
}
|
||
|
|
||
|
void mwmp::PacketPlayerCharGen::Packet(RakNet::BitStream *bs, mwmp::BasePlayer *player, bool send)
|
||
|
{
|
||
|
PlayerPacket::Packet(bs, player, send);
|
||
|
|
||
|
RW(player->charGenStage, send);
|
||
|
|
||
|
}
|