Пример #1
0
        private static RulesetTemplate BuildRuleset(ACE.Entity.Models.Realm realm)
        {
            if (realm.ParentRealmID == null)
            {
                return(RulesetTemplate.MakeTopLevelRuleset(realm));
            }
            var parent = GetRealm(realm.ParentRealmID.Value);

            return(RulesetTemplate.MakeRuleset(parent.RulesetTemplate, realm));
        }
Пример #2
0
 internal static void CacheEphemeralRealmTemplate(string key, RulesetTemplate template)
 {
     EphemeralRealmCache[key] = template;
 }