public override void DeSerialize(WfPacket r) { m_ObjId = r.ReadInt(); m_SkillId = r.ReadUInt(); m_x = r.ReadInt(); m_y = r.ReadInt(); m_TargetId = r.ReadInt(); }
public override void DeSerialize(WfPacket r) { m_type = r.ReadInt(); m_account = r.ReadString(); m_pwd = r.ReadString(); m_equipment = r.ReadString(); m_machine = r.ReadString(); }
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 DeSerialize(WfPacket r) { int _TempSize = 0; _TempSize = r.ReadInt(); for (int i = 0; i < _TempSize; ++i) { var _var = new t_PreparePlayerData(); _var.DeSerialize(r); datas.Add(_var); } }
public override void DeSerialize(WfPacket r) { m_ObjId = r.ReadInt(); m_curx = r.ReadInt(); m_curz = r.ReadInt(); int _TempSize = 0; _TempSize = r.ReadInt(); for (int i = 0; i < _TempSize; ++i) { int _var = r.ReadInt(); m_xlist.Add(_var); } _TempSize = r.ReadInt(); for (int i = 0; i < _TempSize; ++i) { int _var = r.ReadInt(); m_zlist.Add(_var); } }
public override void DeSerialize(WfPacket r) { m_TemplateId = r.ReadInt(); m_ObjectType = r.ReadInt(); m_EntityId = r.ReadInt(); }
public override void DeSerialize(WfPacket r) { m_PlayerId = r.ReadInt(); m_ObjId = r.ReadInt(); }
public override void DeSerialize(WfPacket r) { m_rst = r.ReadInt(); m_sessionid = r.ReadString(); }
public override void DeSerialize(WfPacket r) { m_rst = r.ReadInt(); m_playerid = r.ReadUInt(); }