示例#1
0
 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);
 }
示例#2
0
 public void OnUseItemProperty(GameCmd.stUseItemPropertyUserCmd_CS msg)
 {
     DataManager.Manager <ItemManager>().OnItemUse(msg);
 }