Universe.Modules.Currency.BaseCurrencyConnector.GroupCurrencyUpdate C# (CSharp) Method

GroupCurrencyUpdate() private method

private GroupCurrencyUpdate ( UUID groupID, GroupBalance gb, bool full ) : void
groupID UUID
gb Universe.Framework.Modules.GroupBalance
full bool
return void
        void GroupCurrencyUpdate (UUID groupID, GroupBalance gb, bool full)
        {
            if (full)
                GD.Update (_GROUPREALM,
                    new Dictionary<string, object> {
                    { "GroupFee", gb.GroupFee },
                    { "LandFee", gb.LandFee },
                    { "ObjectFee", gb.ObjectFee },
                    { "ParcelDirectoryFee", gb.ParcelDirectoryFee },
                    { "TotalTierCredits", gb.TotalTierCredits },
                    { "TotalTierDebit", gb.TotalTierDebit },
                    { "Balance", gb.Balance }
                },
                    null,
                    new QueryFilter {
                    andFilters = new Dictionary<string, object> {
                        { "GroupID", groupID }
                    }
                },
                    null,
                    null
                );
            else
                GD.Update (_GROUPREALM,
                    new Dictionary<string, object> {
                    { "TotalTierCredits", gb.TotalTierCredits },
                    { "TotalTierDebit", gb.TotalTierDebit }
                },
                    null,
                    new QueryFilter {
                    andFilters = new Dictionary<string, object> {
                        { "GroupID", groupID }
                    }
                },
                    null,
                    null);
        }