Beispiel #1
0
    public void BuyOil(int oil)
    {
        ShopRequestParameter request = new ShopRequestParameter()
        {
            BuyResourceQuantity = oil
        };

        CommunicationUtility.Instance.BuyOil(request);
    }
Beispiel #2
0
    public void BuyGold(int gold)
    {
        ShopRequestParameter request = new ShopRequestParameter()
        {
            BuyResourceQuantity = gold
        };

        CommunicationUtility.Instance.BuyGold(request);
    }
 public void BuyOil(ShopRequestParameter parameter)
 {
     this.CommunicateWithServer(parameter.GetHashtableFromParameter(), ClientCommandConsts.BUY_OIL_COMMAND);
 }