public override void Serialize(WfPacket w) { w.Write(m_ObjId); w.Write(m_SkillId); w.Write(m_x); w.Write(m_y); w.Write(m_TargetId); }
public override void Serialize(WfPacket w) { w.Write(m_type); w.Write(m_account); w.Write(m_pwd); w.Write(m_equipment); w.Write(m_machine); }
private static void OnClientMsg(ClientSession socket, WfPacket pak) { int logicCount = pak.ReadInt(); WfPacket msg = new WfPacket(0, 300); msg.Write((int)logicCount); KCPNet.SendPacket(socket, msg); UnityEngine.Debug.Log("Send msg" + logicCount.ToString()); }
public override void Serialize(WfPacket w) { int _TempSize = 0; _TempSize = datas.Count; w.Write(_TempSize); for (int i = 0; i < _TempSize; ++i) { var _var = datas[i]; _var.Serialize(w); } }
public override void Serialize(WfPacket w) { w.Write(m_ObjId); w.Write(m_curx); w.Write(m_curz); int _TempSize = 0; _TempSize = m_xlist.Count; w.Write(_TempSize); for (int i = 0; i < _TempSize; ++i) { var _var = m_xlist[i]; w.Write(_var); } _TempSize = m_zlist.Count; w.Write(_TempSize); for (int i = 0; i < _TempSize; ++i) { var _var = m_zlist[i]; w.Write(_var); } }
public override void Serialize(WfPacket w) { w.Write(m_playerid); w.Write(m_name); w.Write(m_jobid); }
public override void Serialize(WfPacket w) { w.Write(m_TemplateId); w.Write(m_ObjectType); w.Write(m_EntityId); }
public override void Serialize(WfPacket w) { w.Write(m_PlayerId); w.Write(m_ObjId); }
public override void Serialize(WfPacket w) { w.Write(m_RoomId); }
public override void Serialize(WfPacket w) { w.Write(m_content); }
public override void Serialize(WfPacket w) { w.Write(m_rst); w.Write(m_sessionid); }
public override void Serialize(WfPacket w) { w.Write(m_playerid); w.Write(m_nickname); w.Write(m_money); }
public override void Serialize(WfPacket w) { w.Write(m_rst); w.Write(m_playerid); }
public override void Serialize(WfPacket w) { w.Write(m_account); w.Write(m_pwd); }