//添加道具,调试用 //id 为道具id num道具数量 public void SEND_CG_REQ_ADD_ITEM(uint id, uint num) { AddItem ip = new Msg.AddItem(); ip.Id = id; ip.Num = num; MemoryStream ms = GetStream(); AddItem.Serialize(ms, ip); Send(MsgId.ID_AddItem, ms); }