mirror of
https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient.git
synced 2025-10-26 09:59:07 -07:00
package_8 alternativa.startup
This commit is contained in:
20
src/alternativa/startup/ConnectionParameters.as
Normal file
20
src/alternativa/startup/ConnectionParameters.as
Normal file
@@ -0,0 +1,20 @@
|
||||
package alternativa.startup
|
||||
{
|
||||
public class ConnectionParameters
|
||||
{
|
||||
public var serverAddress:String;
|
||||
|
||||
public var serverPorts:Vector.<int>;
|
||||
|
||||
public var resourcesRootURL:String;
|
||||
|
||||
public function ConnectionParameters(serverAddress:String, serverPorts:Vector.<int>, resourcesRootURL:String)
|
||||
{
|
||||
super();
|
||||
this.serverAddress = serverAddress;
|
||||
this.serverPorts = serverPorts;
|
||||
this.resourcesRootURL = resourcesRootURL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
11
src/alternativa/startup/IClientConfigurator.as
Normal file
11
src/alternativa/startup/IClientConfigurator.as
Normal file
@@ -0,0 +1,11 @@
|
||||
package alternativa.startup
|
||||
{
|
||||
import flash.display.DisplayObjectContainer;
|
||||
import package_15.name_19;
|
||||
|
||||
public interface IClientConfigurator
|
||||
{
|
||||
function start(param1:DisplayObjectContainer, param2:name_19, param3:Vector.<LibraryInfo>, param4:ConnectionParameters, param5:Vector.<String>) : void;
|
||||
}
|
||||
}
|
||||
|
||||
36
src/alternativa/startup/LibraryInfo.as
Normal file
36
src/alternativa/startup/LibraryInfo.as
Normal file
@@ -0,0 +1,36 @@
|
||||
package alternativa.startup
|
||||
{
|
||||
import flash.display.Loader;
|
||||
import package_15.name_19;
|
||||
|
||||
public class LibraryInfo
|
||||
{
|
||||
public var name:String;
|
||||
|
||||
public var resourceId:String;
|
||||
|
||||
public var resourceVersion:String;
|
||||
|
||||
public var manifestProperties:name_19;
|
||||
|
||||
public var loader:Loader;
|
||||
|
||||
public var size:int;
|
||||
|
||||
public function LibraryInfo(name:String, resourceId:String, resourceVersion:String, manifestProperties:name_19, size:int)
|
||||
{
|
||||
super();
|
||||
this.name = name;
|
||||
this.resourceId = resourceId;
|
||||
this.resourceVersion = resourceVersion;
|
||||
this.manifestProperties = manifestProperties;
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
return "[BundleInfo name=" + this.name + ", id=" + this.resourceId + ", version=" + this.resourceVersion + ", manifestProperties=" + this.manifestProperties + ", size=" + this.size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user