20 lines
447 B
C#
20 lines
447 B
C#
//This code create by CodeEngine
|
|
|
|
using System;
|
|
using Module.Log;
|
|
using Google.ProtocolBuffers;
|
|
using System.Collections;
|
|
namespace SPacket.SocketInstance
|
|
{
|
|
public class CG_CREATEROLEHandler : Ipacket
|
|
{
|
|
public uint Execute(PacketDistributed ipacket)
|
|
{
|
|
CG_CREATEROLE packet = (CG_CREATEROLE )ipacket;
|
|
if (null == packet) return (uint)PACKET_EXE.PACKET_EXE_ERROR;
|
|
//enter your logic
|
|
return (uint)PACKET_EXE.PACKET_EXE_CONTINUE;
|
|
}
|
|
}
|
|
}
|