public override void Resolve() { if (string.IsNullOrEmpty(ServerName)) { dynamic server = XivApi.Get($"World/{ServerId}").GetAwaiter().GetResult(); ServerName = server.Name; } }
public override void Resolve() { if (string.IsNullOrEmpty(StatusName)) { dynamic status = XivApi.Get($"Status/{StatusId}").GetAwaiter().GetResult(); //Console.WriteLine($"Resolved status {StatusId} to {status.Name}"); StatusName = status.Name; } }