/// <summary> /// 物品合成请求 /// </summary> /// <param name="itemId">物品id</param> /// <param name="composeType">合成类型</param> public void ItemComposeReq(uint itemId, uint composeType, GameCmd.EquipPos pos = EquipPos.EquipPos_None, uint gemPosIndex = 0) { stComposeItemWorkUserCmd_CS cmd = new stComposeItemWorkUserCmd_CS() { composetype = composeType, itemid = itemId, equip_pos = pos, gem_pos_index = gemPosIndex, }; SendCmd(cmd); }
public void OnItemComposeRes(stComposeItemWorkUserCmd_CS msg) { DataManager.Manager <ComposeManager>().OnCompose(msg.itemid, msg.composenum, msg.composetype); }