public void UseItem(uint targetID, uint targetType, uint thisID, uint num) { GameCmd.stUseItemPropertyUserCmd_CS cmd = new GameCmd.stUseItemPropertyUserCmd_CS(); cmd.qwTargetID = targetID; cmd.qwThisID = thisID; cmd.dwNumber = num; cmd.qwTargetType = targetType; SendCmd(cmd); }
public void OnUseItemProperty(GameCmd.stUseItemPropertyUserCmd_CS msg) { DataManager.Manager <ItemManager>().OnItemUse(msg); }