Beispiel #1
0
        public static CharacterTitleEntry GetTitleEntry(TitleBitId titleBitId)
        {
            foreach (var characterTitleEntry in CharacterTitleEntries.Values)
            {
                if (characterTitleEntry.BitIndex == titleBitId)
                    return characterTitleEntry;
            }

            return null;
        }
Beispiel #2
0
        public static CharacterTitleEntry GetTitleEntry(TitleBitId titleBitId)
        {
            foreach (CharacterTitleEntry characterTitleEntry in TitleMgr.CharacterTitleEntries.Values)
            {
                if (characterTitleEntry.BitIndex == titleBitId)
                {
                    return(characterTitleEntry);
                }
            }

            return((CharacterTitleEntry)null);
        }
Beispiel #3
0
		public bool HasTitle(TitleBitId titleBitId)
		{
			CharacterTitleEntry titleEntry = TitleMgr.GetTitleEntry(titleBitId);
			if (titleEntry == null)
				return false;
			return HasTitle(titleEntry.TitleId);
		}