Example #1
0
        public void CalcWealth(WealthManager.WealthType type, GameInfoOperator op, int amount)
        {
            Param param = new Param();

            param.AddCalculation(type.ToString(), op, amount);

            BackendReturnObject bro = Backend.GameInfo.UpdateWithCalculation(DesignConstStorage.tNameWealth, PInfo.wealthinDate, param);

            string sCode = bro.GetStatusCode();

            if (sCode != "204")
            {
                Debug.LogError(sCode);
            }
            else
            {
            }
        }