private GroupCurrencyUpdate ( UUID groupID, |
||
groupID | UUID | |
gb | ||
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);
}