示例#1
0
 public static string PublicShard(this DotNS api, string name, Shards.PublicShard shard, RequestType type = RequestType.Nation)
 {
     string[] shards = PublicShard(api, name, new Shards.PublicShard[] { shard }, type);
     if (shards.Length > 0)
     {
         return(shards[0]);
     }
     return(null);
 }
示例#2
0
 public static XmlNodeList RawPublicShard(this DotNS api, string name, Shards.PublicShard shard, RequestType type = RequestType.Nation)
 {
     return(RawPublicShard(api, name, new Shards.PublicShard[] { shard }, type));
 }