예제 #1
0
 public IAdditionalContent[] GetMyDownloads()
 {
     if (!base.ContentType.CurrentUserCanDownload)
     {
         return new IAdditionalContent[0];
     }
     QuazalQuery query = new QuazalQuery("GetMyDownloadedMaps", new object[0]);
     return query.GetObjects<CustomMap>().ToArray();
 }
예제 #2
0
 public IAdditionalContent[] GetMyUploads()
 {
     if (!base.ContentType.CurrentUserCanUpload)
     {
         return new IAdditionalContent[0];
     }
     QuazalQuery query = new QuazalQuery("GetMyUploadedVideos", new object[0]);
     return query.GetObjects<Video>().ToArray();
 }
예제 #3
0
 public IAdditionalContent[] GetMyUploads()
 {
     if (!base.ContentType.CurrentUserCanUpload)
     {
         return new IAdditionalContent[0];
     }
     QuazalQuery query = new QuazalQuery("GetMyUploadedTools", new object[0]);
     return query.GetObjects<GPG.Multiplayer.Client.Vaulting.Tools.Tool>().ToArray();
 }