Example #1
0
        //进入地图
        public void SEND_CG_REQ_ENTER_MAP(uint id)
        {
            EnterMap ip = new Msg.EnterMap();

            ip.Id = id;
            MemoryStream ms = GetStream();

            EnterMap.Serialize(ms, ip);
            Send(MsgId.ID_EnterMap, ms);
        }
Example #2
0
 protected void OnEnterMap()
 {
     EnterMap?.Invoke(this);
 }