public byte[] GetBuffer() { PacketOut outpack = new PacketOut(); outpack.WriteBuff(InternalPacket.HEAD); outpack.WriteUInt16(mParam); outpack.WriteInt32(playerid); outpack.WriteUInt32(gameid); outpack.WriteBool(tag); outpack.WriteBuff(InternalPacket.TAIL); return outpack.GetBuffer(); }
public byte[] GetBuffer() { PacketOut outpack = new PacketOut(); outpack.WriteString(members_name); outpack.WriteLong(money); outpack.WriteInt16(rank); outpack.WriteBool(boChange); return outpack.GetBuffer(); }
public byte[] GetBuffer() { PacketOut outpack = new PacketOut(); outpack.WriteBuff(InternalPacket.HEAD); outpack.WriteUInt16(mParam); outpack.WriteInt32(accountid); outpack.WriteBool(IsExit); outpack.WriteString(name); outpack.WriteUInt32(lookface); outpack.WriteUInt32(hair); outpack.WriteByte(level); outpack.WriteInt32(exp); outpack.WriteUInt32(life); outpack.WriteUInt32(mana); outpack.WriteByte(profession); outpack.WriteInt16(pk); outpack.WriteLong(gold); outpack.WriteLong(gamegold); outpack.WriteLong(stronggold); outpack.WriteUInt32(mapid); outpack.WriteInt16(x); outpack.WriteInt16(y); outpack.WriteString(hotkey); outpack.WriteULong(guanjue); outpack.WriteByte(godlevel); outpack.WriteByte(maxeudemon); outpack.WriteBuff(InternalPacket.TAIL); return outpack.GetBuffer(); }