Exemplo n.º 1
0
        public uint GetCharacterArenaTeamIdByGuid(ObjectGuid guid, byte type)
        {
            var characterCacheEntry = _characterCacheStore.LookupByKey(guid);

            if (characterCacheEntry == null)
            {
                return(0);
            }

            return(characterCacheEntry.ArenaTeamId[ArenaTeam.GetSlotByType(type)]);
        }