//进入地图 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); }
protected void OnEnterMap() { EnterMap?.Invoke(this); }