mirror of
https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient.git
synced 2025-10-26 09:59:07 -07:00
Initial commit
This commit is contained in:
53
src/package_59/CodecA3DImage.as
Normal file
53
src/package_59/CodecA3DImage.as
Normal file
@@ -0,0 +1,53 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_39.name_160;
|
||||
import package_5.name_3;
|
||||
import package_53.A3DImage;
|
||||
import package_57.name_213;
|
||||
|
||||
public class CodecA3DImage implements name_152
|
||||
{
|
||||
public static var log:name_160 = name_160(name_3.name_8().name_30(name_160));
|
||||
|
||||
private var var_252:name_152;
|
||||
|
||||
private var var_307:name_152;
|
||||
|
||||
public function CodecA3DImage()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.var_252 = protocol.name_448(new name_148(name_213,true));
|
||||
this.var_307 = protocol.name_448(new name_148(String,true));
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
log = name_160(name_3.name_8().name_30(name_160));
|
||||
var value_id:name_213 = this.var_252.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DImage","id",value_id);
|
||||
var value_url:String = this.var_307.method_296(protocolBuffer) as String;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DImage","url",value_url);
|
||||
return new A3DImage(value_id,value_url);
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DImage = A3DImage(object);
|
||||
this.var_252.method_295(protocolBuffer,struct.id);
|
||||
this.var_307.method_295(protocolBuffer,struct.url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
85
src/package_59/CodecA3DMap.as
Normal file
85
src/package_59/CodecA3DMap.as
Normal file
@@ -0,0 +1,85 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_156;
|
||||
import package_33.name_157;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_39.name_160;
|
||||
import package_5.name_3;
|
||||
import package_53.A3DMap;
|
||||
import package_57.name_213;
|
||||
|
||||
public class CodecA3DMap implements name_152
|
||||
{
|
||||
public static var log:name_160 = name_160(name_3.name_8().name_30(name_160));
|
||||
|
||||
private var var_322:name_152;
|
||||
|
||||
private var var_252:name_152;
|
||||
|
||||
private var var_321:name_152;
|
||||
|
||||
private var var_407:name_152;
|
||||
|
||||
private var var_408:name_152;
|
||||
|
||||
private var var_409:name_152;
|
||||
|
||||
private var var_410:name_152;
|
||||
|
||||
public function CodecA3DMap()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.var_322 = protocol.name_448(new name_148(name_156,false));
|
||||
this.var_252 = protocol.name_448(new name_148(name_213,true));
|
||||
this.var_321 = protocol.name_448(new name_148(name_213,true));
|
||||
this.var_407 = protocol.name_448(new name_148(name_157,true));
|
||||
this.var_408 = protocol.name_448(new name_148(name_157,true));
|
||||
this.var_409 = protocol.name_448(new name_148(name_157,true));
|
||||
this.var_410 = protocol.name_448(new name_148(name_157,true));
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
log = name_160(name_3.name_8().name_30(name_160));
|
||||
var value_channel:uint = uint(this.var_322.method_296(protocolBuffer) as uint);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","channel",value_channel);
|
||||
var value_id:name_213 = this.var_252.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","id",value_id);
|
||||
var value_imageId:name_213 = this.var_321.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","imageId",value_imageId);
|
||||
var value_uOffset:Number = Number(this.var_407.method_296(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","uOffset",value_uOffset);
|
||||
var value_uScale:Number = Number(this.var_408.method_296(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","uScale",value_uScale);
|
||||
var value_vOffset:Number = Number(this.var_409.method_296(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","vOffset",value_vOffset);
|
||||
var value_vScale:Number = Number(this.var_410.method_296(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","vScale",value_vScale);
|
||||
return new A3DMap(value_channel,value_id,value_imageId,value_uOffset,value_uScale,value_vOffset,value_vScale);
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DMap = A3DMap(object);
|
||||
this.var_322.method_295(protocolBuffer,struct.channel);
|
||||
this.var_252.method_295(protocolBuffer,struct.id);
|
||||
this.var_321.method_295(protocolBuffer,struct.imageId);
|
||||
this.var_407.method_295(protocolBuffer,struct.uOffset);
|
||||
this.var_408.method_295(protocolBuffer,struct.uScale);
|
||||
this.var_409.method_295(protocolBuffer,struct.vOffset);
|
||||
this.var_410.method_295(protocolBuffer,struct.vScale);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
83
src/package_59/CodecA3DMaterial.as
Normal file
83
src/package_59/CodecA3DMaterial.as
Normal file
@@ -0,0 +1,83 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_39.name_160;
|
||||
import package_5.name_3;
|
||||
import package_53.A3DMaterial;
|
||||
import package_57.name_213;
|
||||
|
||||
public class CodecA3DMaterial implements name_152
|
||||
{
|
||||
public static var log:name_160 = name_160(name_3.name_8().name_30(name_160));
|
||||
|
||||
private var var_386:name_152;
|
||||
|
||||
private var var_383:name_152;
|
||||
|
||||
private var var_252:name_152;
|
||||
|
||||
private var var_384:name_152;
|
||||
|
||||
private var var_385:name_152;
|
||||
|
||||
private var var_382:name_152;
|
||||
|
||||
private var var_381:name_152;
|
||||
|
||||
public function CodecA3DMaterial()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.var_386 = protocol.name_448(new name_148(name_213,true));
|
||||
this.var_383 = protocol.name_448(new name_148(name_213,true));
|
||||
this.var_252 = protocol.name_448(new name_148(name_213,true));
|
||||
this.var_384 = protocol.name_448(new name_148(name_213,true));
|
||||
this.var_385 = protocol.name_448(new name_148(name_213,true));
|
||||
this.var_382 = protocol.name_448(new name_148(name_213,true));
|
||||
this.var_381 = protocol.name_448(new name_148(name_213,true));
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
log = name_160(name_3.name_8().name_30(name_160));
|
||||
var value_diffuseMapId:name_213 = this.var_386.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","diffuseMapId",value_diffuseMapId);
|
||||
var value_glossinessMapId:name_213 = this.var_383.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","glossinessMapId",value_glossinessMapId);
|
||||
var value_id:name_213 = this.var_252.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","id",value_id);
|
||||
var value_lightMapId:name_213 = this.var_384.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","lightMapId",value_lightMapId);
|
||||
var value_normalMapId:name_213 = this.var_385.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","normalMapId",value_normalMapId);
|
||||
var value_opacityMapId:name_213 = this.var_382.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","opacityMapId",value_opacityMapId);
|
||||
var value_specularMapId:name_213 = this.var_381.method_296(protocolBuffer) as name_213;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","specularMapId",value_specularMapId);
|
||||
return new A3DMaterial(value_diffuseMapId,value_glossinessMapId,value_id,value_lightMapId,value_normalMapId,value_opacityMapId,value_specularMapId);
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DMaterial = A3DMaterial(object);
|
||||
this.var_386.method_295(protocolBuffer,struct.diffuseMapId);
|
||||
this.var_383.method_295(protocolBuffer,struct.glossinessMapId);
|
||||
this.var_252.method_295(protocolBuffer,struct.id);
|
||||
this.var_384.method_295(protocolBuffer,struct.lightMapId);
|
||||
this.var_385.method_295(protocolBuffer,struct.normalMapId);
|
||||
this.var_382.method_295(protocolBuffer,struct.opacityMapId);
|
||||
this.var_381.method_295(protocolBuffer,struct.specularMapId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
src/package_59/VectorCodecA3DImageLevel1.as
Normal file
59
src/package_59/VectorCodecA3DImageLevel1.as
Normal file
@@ -0,0 +1,59 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_34.name_150;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_38.name_443;
|
||||
import package_53.A3DImage;
|
||||
|
||||
public class VectorCodecA3DImageLevel1 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecA3DImageLevel1(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(A3DImage,false));
|
||||
if(this.optionalElement)
|
||||
{
|
||||
this.elementCodec = new name_150(this.elementCodec);
|
||||
}
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
var length:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<A3DImage> = new Vector.<A3DImage>(length,true);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
result[i] = A3DImage(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<A3DImage> = Vector.<A3DImage>(object);
|
||||
var length:int = int(data.length);
|
||||
name_443.name_446(protocolBuffer,length);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
this.elementCodec.method_295(protocolBuffer,data[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
89
src/package_59/VectorCodecA3DImageLevel2.as
Normal file
89
src/package_59/VectorCodecA3DImageLevel2.as
Normal file
@@ -0,0 +1,89 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_34.name_150;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_38.name_443;
|
||||
import package_53.A3DImage;
|
||||
|
||||
public class VectorCodecA3DImageLevel2 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecA3DImageLevel2(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(A3DImage,false));
|
||||
if(this.optionalElement)
|
||||
{
|
||||
this.elementCodec = new name_150(this.elementCodec);
|
||||
}
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
var length2:int = 0;
|
||||
var items2:Vector.<A3DImage> = null;
|
||||
var i2:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<A3DImage>> = new Vector.<Vector.<A3DImage>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<A3DImage>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items2[i2] = A3DImage(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<A3DImage> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<Vector.<A3DImage>> = Vector.<Vector.<A3DImage>>(object);
|
||||
var length1:int = int(data.length);
|
||||
name_443.name_446(protocolBuffer,length1);
|
||||
for(var i1:int = 0; i1 < length1; i1++)
|
||||
{
|
||||
items2 = data[i1];
|
||||
if(items2 != null)
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(false);
|
||||
length2 = int(items2.length);
|
||||
name_443.name_446(protocolBuffer,length2);
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
this.elementCodec.method_295(protocolBuffer,items2[i2]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
119
src/package_59/VectorCodecA3DImageLevel3.as
Normal file
119
src/package_59/VectorCodecA3DImageLevel3.as
Normal file
@@ -0,0 +1,119 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_34.name_150;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_38.name_443;
|
||||
import package_53.A3DImage;
|
||||
|
||||
public class VectorCodecA3DImageLevel3 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecA3DImageLevel3(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(A3DImage,false));
|
||||
if(this.optionalElement)
|
||||
{
|
||||
this.elementCodec = new name_150(this.elementCodec);
|
||||
}
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
var length2:int = 0;
|
||||
var items2:Vector.<Vector.<A3DImage>> = null;
|
||||
var i2:int = 0;
|
||||
var length3:int = 0;
|
||||
var items3:Vector.<A3DImage> = null;
|
||||
var i3:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Vector.<A3DImage>>> = new Vector.<Vector.<Vector.<A3DImage>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DImage>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length3 = name_443.name_445(protocolBuffer);
|
||||
items3 = new Vector.<A3DImage>(length3,true);
|
||||
items2[i2] = items3;
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
items3[i3] = A3DImage(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Vector.<A3DImage>> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
var items3:Vector.<A3DImage> = null;
|
||||
var length3:int = 0;
|
||||
var i3:int = 0;
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<Vector.<Vector.<A3DImage>>> = Vector.<Vector.<Vector.<A3DImage>>>(object);
|
||||
var length1:int = int(data.length);
|
||||
name_443.name_446(protocolBuffer,length1);
|
||||
for(var i1:int = 0; i1 < length1; i1++)
|
||||
{
|
||||
items2 = data[i1];
|
||||
if(items2 != null)
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(false);
|
||||
length2 = int(items2.length);
|
||||
name_443.name_446(protocolBuffer,length2);
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items3 = items2[i1];
|
||||
if(items3 != null)
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(false);
|
||||
length3 = int(items3.length);
|
||||
name_443.name_446(protocolBuffer,length3);
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
this.elementCodec.method_295(protocolBuffer,items3[i3]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
src/package_59/VectorCodecA3DMapLevel1.as
Normal file
59
src/package_59/VectorCodecA3DMapLevel1.as
Normal file
@@ -0,0 +1,59 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_34.name_150;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_38.name_443;
|
||||
import package_53.A3DMap;
|
||||
|
||||
public class VectorCodecA3DMapLevel1 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecA3DMapLevel1(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(A3DMap,false));
|
||||
if(this.optionalElement)
|
||||
{
|
||||
this.elementCodec = new name_150(this.elementCodec);
|
||||
}
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
var length:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<A3DMap> = new Vector.<A3DMap>(length,true);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
result[i] = A3DMap(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<A3DMap> = Vector.<A3DMap>(object);
|
||||
var length:int = int(data.length);
|
||||
name_443.name_446(protocolBuffer,length);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
this.elementCodec.method_295(protocolBuffer,data[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
89
src/package_59/VectorCodecA3DMapLevel2.as
Normal file
89
src/package_59/VectorCodecA3DMapLevel2.as
Normal file
@@ -0,0 +1,89 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_34.name_150;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_38.name_443;
|
||||
import package_53.A3DMap;
|
||||
|
||||
public class VectorCodecA3DMapLevel2 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecA3DMapLevel2(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(A3DMap,false));
|
||||
if(this.optionalElement)
|
||||
{
|
||||
this.elementCodec = new name_150(this.elementCodec);
|
||||
}
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
var length2:int = 0;
|
||||
var items2:Vector.<A3DMap> = null;
|
||||
var i2:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<A3DMap>> = new Vector.<Vector.<A3DMap>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<A3DMap>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items2[i2] = A3DMap(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<A3DMap> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<Vector.<A3DMap>> = Vector.<Vector.<A3DMap>>(object);
|
||||
var length1:int = int(data.length);
|
||||
name_443.name_446(protocolBuffer,length1);
|
||||
for(var i1:int = 0; i1 < length1; i1++)
|
||||
{
|
||||
items2 = data[i1];
|
||||
if(items2 != null)
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(false);
|
||||
length2 = int(items2.length);
|
||||
name_443.name_446(protocolBuffer,length2);
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
this.elementCodec.method_295(protocolBuffer,items2[i2]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
119
src/package_59/VectorCodecA3DMapLevel3.as
Normal file
119
src/package_59/VectorCodecA3DMapLevel3.as
Normal file
@@ -0,0 +1,119 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_34.name_150;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_38.name_443;
|
||||
import package_53.A3DMap;
|
||||
|
||||
public class VectorCodecA3DMapLevel3 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecA3DMapLevel3(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(A3DMap,false));
|
||||
if(this.optionalElement)
|
||||
{
|
||||
this.elementCodec = new name_150(this.elementCodec);
|
||||
}
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
var length2:int = 0;
|
||||
var items2:Vector.<Vector.<A3DMap>> = null;
|
||||
var i2:int = 0;
|
||||
var length3:int = 0;
|
||||
var items3:Vector.<A3DMap> = null;
|
||||
var i3:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Vector.<A3DMap>>> = new Vector.<Vector.<Vector.<A3DMap>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DMap>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length3 = name_443.name_445(protocolBuffer);
|
||||
items3 = new Vector.<A3DMap>(length3,true);
|
||||
items2[i2] = items3;
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
items3[i3] = A3DMap(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Vector.<A3DMap>> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
var items3:Vector.<A3DMap> = null;
|
||||
var length3:int = 0;
|
||||
var i3:int = 0;
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<Vector.<Vector.<A3DMap>>> = Vector.<Vector.<Vector.<A3DMap>>>(object);
|
||||
var length1:int = int(data.length);
|
||||
name_443.name_446(protocolBuffer,length1);
|
||||
for(var i1:int = 0; i1 < length1; i1++)
|
||||
{
|
||||
items2 = data[i1];
|
||||
if(items2 != null)
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(false);
|
||||
length2 = int(items2.length);
|
||||
name_443.name_446(protocolBuffer,length2);
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items3 = items2[i1];
|
||||
if(items3 != null)
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(false);
|
||||
length3 = int(items3.length);
|
||||
name_443.name_446(protocolBuffer,length3);
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
this.elementCodec.method_295(protocolBuffer,items3[i3]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
src/package_59/VectorCodecA3DMaterialLevel1.as
Normal file
59
src/package_59/VectorCodecA3DMaterialLevel1.as
Normal file
@@ -0,0 +1,59 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_34.name_150;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_38.name_443;
|
||||
import package_53.A3DMaterial;
|
||||
|
||||
public class VectorCodecA3DMaterialLevel1 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecA3DMaterialLevel1(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(A3DMaterial,false));
|
||||
if(this.optionalElement)
|
||||
{
|
||||
this.elementCodec = new name_150(this.elementCodec);
|
||||
}
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
var length:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<A3DMaterial> = new Vector.<A3DMaterial>(length,true);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
result[i] = A3DMaterial(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<A3DMaterial> = Vector.<A3DMaterial>(object);
|
||||
var length:int = int(data.length);
|
||||
name_443.name_446(protocolBuffer,length);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
this.elementCodec.method_295(protocolBuffer,data[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
89
src/package_59/VectorCodecA3DMaterialLevel2.as
Normal file
89
src/package_59/VectorCodecA3DMaterialLevel2.as
Normal file
@@ -0,0 +1,89 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_34.name_150;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_38.name_443;
|
||||
import package_53.A3DMaterial;
|
||||
|
||||
public class VectorCodecA3DMaterialLevel2 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecA3DMaterialLevel2(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(A3DMaterial,false));
|
||||
if(this.optionalElement)
|
||||
{
|
||||
this.elementCodec = new name_150(this.elementCodec);
|
||||
}
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
var length2:int = 0;
|
||||
var items2:Vector.<A3DMaterial> = null;
|
||||
var i2:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<A3DMaterial>> = new Vector.<Vector.<A3DMaterial>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<A3DMaterial>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items2[i2] = A3DMaterial(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<A3DMaterial> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<Vector.<A3DMaterial>> = Vector.<Vector.<A3DMaterial>>(object);
|
||||
var length1:int = int(data.length);
|
||||
name_443.name_446(protocolBuffer,length1);
|
||||
for(var i1:int = 0; i1 < length1; i1++)
|
||||
{
|
||||
items2 = data[i1];
|
||||
if(items2 != null)
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(false);
|
||||
length2 = int(items2.length);
|
||||
name_443.name_446(protocolBuffer,length2);
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
this.elementCodec.method_295(protocolBuffer,items2[i2]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
119
src/package_59/VectorCodecA3DMaterialLevel3.as
Normal file
119
src/package_59/VectorCodecA3DMaterialLevel3.as
Normal file
@@ -0,0 +1,119 @@
|
||||
package package_59
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_34.name_150;
|
||||
import package_36.name_152;
|
||||
import package_36.name_163;
|
||||
import package_36.name_442;
|
||||
import package_38.name_443;
|
||||
import package_53.A3DMaterial;
|
||||
|
||||
public class VectorCodecA3DMaterialLevel3 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecA3DMaterialLevel3(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(A3DMaterial,false));
|
||||
if(this.optionalElement)
|
||||
{
|
||||
this.elementCodec = new name_150(this.elementCodec);
|
||||
}
|
||||
}
|
||||
|
||||
public function method_296(protocolBuffer:name_442) : Object
|
||||
{
|
||||
var length2:int = 0;
|
||||
var items2:Vector.<Vector.<A3DMaterial>> = null;
|
||||
var i2:int = 0;
|
||||
var length3:int = 0;
|
||||
var items3:Vector.<A3DMaterial> = null;
|
||||
var i3:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Vector.<A3DMaterial>>> = new Vector.<Vector.<Vector.<A3DMaterial>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DMaterial>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length3 = name_443.name_445(protocolBuffer);
|
||||
items3 = new Vector.<A3DMaterial>(length3,true);
|
||||
items2[i2] = items3;
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
items3[i3] = A3DMaterial(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Vector.<A3DMaterial>> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
var items3:Vector.<A3DMaterial> = null;
|
||||
var length3:int = 0;
|
||||
var i3:int = 0;
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<Vector.<Vector.<A3DMaterial>>> = Vector.<Vector.<Vector.<A3DMaterial>>>(object);
|
||||
var length1:int = int(data.length);
|
||||
name_443.name_446(protocolBuffer,length1);
|
||||
for(var i1:int = 0; i1 < length1; i1++)
|
||||
{
|
||||
items2 = data[i1];
|
||||
if(items2 != null)
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(false);
|
||||
length2 = int(items2.length);
|
||||
name_443.name_446(protocolBuffer,length2);
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items3 = items2[i1];
|
||||
if(items3 != null)
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(false);
|
||||
length3 = int(items3.length);
|
||||
name_443.name_446(protocolBuffer,length3);
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
this.elementCodec.method_295(protocolBuffer,items3[i3]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
protocolBuffer.optionalMap.name_444(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user