Initial MSVC 2008 projects workspace
This commit is contained in:
30
l2packets/game/server/L2Game_CharCreateSuccess.cpp
Normal file
30
l2packets/game/server/L2Game_CharCreateSuccess.cpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#include "stdafx.h"
|
||||
#include "L2Game_CharCreateSuccess.h"
|
||||
|
||||
L2Game_CharCreateSuccess::L2Game_CharCreateSuccess()
|
||||
{
|
||||
_initNull();
|
||||
}
|
||||
|
||||
L2Game_CharCreateSuccess::L2Game_CharCreateSuccess( const unsigned char *bytes, unsigned int length )
|
||||
{
|
||||
_initNull();
|
||||
setBytes( bytes, length );
|
||||
}
|
||||
|
||||
bool L2Game_CharCreateSuccess::parse( L2_VERSION ver )
|
||||
{
|
||||
UNREFERENCED_PARAMETER(ver);
|
||||
if( getPacketType() != 0x0F ) return false;
|
||||
if( readUInt() != 0x01 ) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool L2Game_CharCreateSuccess::create( L2_VERSION ver )
|
||||
{
|
||||
UNREFERENCED_PARAMETER(ver);
|
||||
setPacketType( 0x0F );
|
||||
writeUInt( 0x01 );
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user