GameFramework.UserThread.AddAssets C# (CSharp) Method

AddAssets() private method

private AddAssets ( ulong guid, int money, int gold ) : void
guid ulong
money int
gold int
return void
        internal void AddAssets(ulong guid, int money, int gold)
        {
            UserInfo userInfo = GetUserInfo(guid);
            if (null != userInfo) {
                userInfo.IncreaseMoney(money);
                userInfo.IncreaseGold(gold);

                SyncRoleInfo(guid);
            }
        }