Universe.Modules.Currency.BaseCurrencyConnector.UserCurrencyUpdate C# (CSharp) Метод

UserCurrencyUpdate() приватный Метод

private UserCurrencyUpdate ( UserCurrency agent, bool full ) : void
agent UserCurrency
full bool
Результат void
        void UserCurrencyUpdate (UserCurrency agent, bool full)
        {
            if (full)
                GD.Update (_REALM,
                    new Dictionary<string, object> {
                        { "LandInUse", agent.LandInUse },
                        { "Tier", agent.Tier },
                        { "IsGroup", agent.IsGroup },
                        { "Amount", agent.Amount },
                        { "StipendsBalance", agent.StipendsBalance }
                    },
                    null,
                    new QueryFilter {
                        andFilters = new Dictionary<string, object> {
                            { "PrincipalID", agent.PrincipalID }
                        }
                    },
                    null,
                    null
                );
            else
                GD.Update (_REALM,
                    new Dictionary<string, object> {
                        { "LandInUse", agent.LandInUse },
                        { "Tier", agent.Tier },
                        { "IsGroup", agent.IsGroup }
                    },
                    null,
                    new QueryFilter {
                        andFilters = new Dictionary<string, object> {
                            { "PrincipalID", agent.PrincipalID }
                        }
                    },
                    null,
                    null);
        }