示例#1
0
 public override void Resolve()
 {
     if (string.IsNullOrEmpty(ServerName))
     {
         dynamic server = XivApi.Get($"World/{ServerId}").GetAwaiter().GetResult();
         ServerName = server.Name;
     }
 }
示例#2
0
 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;
     }
 }