Example #1
0
 public PlasmaServer.ReturnValue RegisterResource(int apiVersion,
                                                  string springVersion,
                                                  string md5,
                                                  int length,
                                                  ResourceType resourceType,
                                                  string archiveName,
                                                  string internalName,
                                                  int springHash,
                                                  byte[] serializedData,
                                                  List <string> dependencies,
                                                  byte[] minimap,
                                                  byte[] metalMap,
                                                  byte[] heightMap,
                                                  byte[] torrentData)
 {
     return(PlasmaServer.RegisterResource(apiVersion,
                                          springVersion,
                                          md5,
                                          length,
                                          resourceType,
                                          archiveName,
                                          internalName,
                                          springHash,
                                          serializedData,
                                          dependencies,
                                          minimap,
                                          metalMap,
                                          heightMap,
                                          torrentData));
 }
Example #2
0
 public bool DownloadFile(string internalName,
                          out List <string> links,
                          out byte[] torrent,
                          out List <string> dependencies,
                          out ResourceType resourceType,
                          out string torrentFileName)
 {
     return(PlasmaServer.DownloadFile(internalName, out links, out torrent, out dependencies, out resourceType, out torrentFileName));
 }