public bool encode(ref byte[] __buff__, ref int __used__) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, totalLength)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, protocolId)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, debugIndex)) { return(false); } return(true); }
public bool encode(ref byte[] __buff__, ref int __used__) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, objID)) { return(false); } { for (int __i__ = 0; __i__ < 1; ++__i__) { if (!minfo.encode(ref __buff__, ref __used__)) { return(false); } } } if (!CProtocolHelp.Write(ref __buff__, ref __used__, action)) { return(false); } return(true); }
public bool encode(ref byte[] __buff__, ref int __used__) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, i)) { return(false); } { for (int __i__ = 0; __i__ < i; ++__i__) { if (!s[__i__].encode(ref __buff__, ref __used__)) { return(false); } } } if (!CProtocolHelp.Write(ref __buff__, ref __used__, f)) { return(false); } return(true); }
public bool encode(ref byte[] __buff__, ref int __used__) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, roomid)) { return(false); } return(true); }
public bool encode(ref byte[] __buff__, ref int __used__) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, pos_x)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, pos_y)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, pos_z)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, dir_x)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, dir_y)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, dir_z)) { return(false); } return(true); }
public bool encode(ref byte[] __buff__, ref int __used__) { { short __s__ = (short)rsp.Length; if (CProtocolHelp.Write(ref __buff__, ref __used__, __s__)) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, __s__, rsp)) { return(false); } } else { return(false); } } return(true); }
public bool encode(ref byte[] __buff__, ref int __used__) { { if (__used__ + sizeof(UInt32) * 30 <= __buff__.Length) { for (int __i__ = 0; __i__ < 30; ++__i__) { UInt32 __t__ = roomids[__i__]; if (!CProtocolHelp.Write(ref __buff__, ref __used__, __t__)) { return(false); } } } else { return(false); } } return(true); }
public bool encode(ref byte[] __buff__, ref int __used__) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, userid)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, guid)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, showLevel)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, mateid)) { return(false); } { short __s__ = (short)macAddress.Length; if (CProtocolHelp.Write(ref __buff__, ref __used__, __s__)) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, __s__, macAddress)) { return(false); } } else { return(false); } } { short __s__ = (short)rolename.Length; if (CProtocolHelp.Write(ref __buff__, ref __used__, __s__)) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, __s__, rolename)) { return(false); } } else { return(false); } } if (!CProtocolHelp.Write(ref __buff__, ref __used__, level)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, professionId)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, exp)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, popularity)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, expTotal)) { return(false); } { if (__used__ + sizeof(Int32) * 2 <= __buff__.Length) { for (int __i__ = 0; __i__ < 2; ++__i__) { Int32 __t__ = diamond[__i__]; if (!CProtocolHelp.Write(ref __buff__, ref __used__, __t__)) { return(false); } } } else { return(false); } } if (!CProtocolHelp.Write(ref __buff__, ref __used__, money)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, exploit)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, vigor)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, vigorMax)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, leaderForce)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, killingValue)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, halliconId)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, f)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, te)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, tes)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, c)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, uc)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, ll)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, ull)) { return(false); } return(true); }
public bool encode(ref byte[] __buff__, ref int __used__) { if (!CProtocolHelp.Write(ref __buff__, ref __used__, idx)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, time)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload1)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload2)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload3)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload4)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload5)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload6)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload7)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload8)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload9)) { return(false); } if (!CProtocolHelp.Write(ref __buff__, ref __used__, payload10)) { return(false); } return(true); }