Exemplo n.º 1
0
        public static async Task <CharacterModel> LoadCharacterInfo(int characterId)
        {
            string url = $"https://swgoh.gg/api/characters/{characterId}/";

            return(await GenericProcessor <CharacterModel> .LoadRecord(url));
        }
Exemplo n.º 2
0
        public static async Task <CharacterModel[]> LoadCharacterList()
        {
            string url = $"https://swgoh.gg/api/characters/";

            return(await GenericProcessor <CharacterModel[]> .LoadRecord(url));
        }
Exemplo n.º 3
0
        public static async Task <PlayerModel> LoadPlayerInfo(int allyCode = 0)
        {
            string url = $"https://swgoh.gg/api/player/{allyCode}/";

            return(await GenericProcessor <PlayerModel> .LoadRecord(url));
        }