Пример #1
0
 public FactionDefinition( int sort, int huePrimary, int hueSecondary, int hueJoin, int hueBroadcast, int warHorseBody, int warHorseItem, string friendlyName, string keyword, TextDefinition name, TextDefinition propName, TextDefinition header, TextDefinition about, TextDefinition cityControl, TextDefinition sigilControl, TextDefinition signupName, TextDefinition factionStoneName, TextDefinition ownerLabel, TextDefinition guardIgnore, TextDefinition guardWarn, TextDefinition guardAttack, StrongholdDefinition stronghold, RankDefinition[] ranks, GuardDefinition[] guards )
 {
     m_Sort = sort;
     m_HuePrimary = huePrimary;
     m_HueSecondary = hueSecondary;
     m_HueJoin = hueJoin;
     m_HueBroadcast = hueBroadcast;
     m_WarHorseBody = warHorseBody;
     m_WarHorseItem = warHorseItem;
     m_FriendlyName = friendlyName;
     m_Keyword = keyword;
     m_Name = name;
     m_PropName = propName;
     m_Header = header;
     m_About = about;
     m_CityControl = cityControl;
     m_SigilControl = sigilControl;
     m_SignupName = signupName;
     m_FactionStoneName = factionStoneName;
     m_OwnerLabel = ownerLabel;
     m_GuardIgnore = guardIgnore;
     m_GuardWarn = guardWarn;
     m_GuardAttack = guardAttack;
     m_Stronghold = stronghold;
     m_Ranks = ranks;
     m_Guards = guards;
 }
Пример #2
0
        public PlayerState( Mobile mob, Faction faction, PlayerStateCollection owner )
        {
            m_Mobile = mob;
            m_Faction = faction;
            m_Owner = owner;

            m_Rank = faction.Definition.Ranks[faction.Definition.Ranks.Length - 1];

            Attach();
            Invalidate();
        }