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)); }
internal static void CacheEphemeralRealmTemplate(string key, RulesetTemplate template) { EphemeralRealmCache[key] = template; }