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:
58
src/package_35/VectorCodecStringLevel1.as
Normal file
58
src/package_35/VectorCodecStringLevel1.as
Normal file
@@ -0,0 +1,58 @@
|
||||
package package_35
|
||||
{
|
||||
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;
|
||||
|
||||
public class VectorCodecStringLevel1 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecStringLevel1(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(String,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.<String> = new Vector.<String>(length,true);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
result[i] = String(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.<String> = Vector.<String>(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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
88
src/package_35/VectorCodecStringLevel2.as
Normal file
88
src/package_35/VectorCodecStringLevel2.as
Normal file
@@ -0,0 +1,88 @@
|
||||
package package_35
|
||||
{
|
||||
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;
|
||||
|
||||
public class VectorCodecStringLevel2 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecStringLevel2(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(String,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.<String> = null;
|
||||
var i2:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<String>> = new Vector.<Vector.<String>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<String>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items2[i2] = String(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<String> = 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.<String>> = Vector.<Vector.<String>>(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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
118
src/package_35/VectorCodecStringLevel3.as
Normal file
118
src/package_35/VectorCodecStringLevel3.as
Normal file
@@ -0,0 +1,118 @@
|
||||
package package_35
|
||||
{
|
||||
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;
|
||||
|
||||
public class VectorCodecStringLevel3 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecStringLevel3(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(String,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.<String>> = null;
|
||||
var i2:int = 0;
|
||||
var length3:int = 0;
|
||||
var items3:Vector.<String> = null;
|
||||
var i3:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Vector.<String>>> = new Vector.<Vector.<Vector.<String>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<String>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length3 = name_443.name_445(protocolBuffer);
|
||||
items3 = new Vector.<String>(length3,true);
|
||||
items2[i2] = items3;
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
items3[i3] = String(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Vector.<String>> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
var items3:Vector.<String> = 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.<String>>> = Vector.<Vector.<Vector.<String>>>(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_35/VectorCodecbyteLevel1.as
Normal file
59
src/package_35/VectorCodecbyteLevel1.as
Normal file
@@ -0,0 +1,59 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_154;
|
||||
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;
|
||||
|
||||
public class VectorCodecbyteLevel1 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecbyteLevel1(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_154,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.<int> = new Vector.<int>(length,true);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
result[i] = int(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.<int> = Vector.<int>(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_35/VectorCodecbyteLevel2.as
Normal file
89
src/package_35/VectorCodecbyteLevel2.as
Normal file
@@ -0,0 +1,89 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_154;
|
||||
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;
|
||||
|
||||
public class VectorCodecbyteLevel2 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecbyteLevel2(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_154,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.<int> = null;
|
||||
var i2:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<int>> = new Vector.<Vector.<int>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<int>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items2[i2] = int(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<int> = 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.<int>> = Vector.<Vector.<int>>(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_35/VectorCodecbyteLevel3.as
Normal file
119
src/package_35/VectorCodecbyteLevel3.as
Normal file
@@ -0,0 +1,119 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_154;
|
||||
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;
|
||||
|
||||
public class VectorCodecbyteLevel3 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecbyteLevel3(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_154,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.<int>> = null;
|
||||
var i2:int = 0;
|
||||
var length3:int = 0;
|
||||
var items3:Vector.<int> = null;
|
||||
var i3:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Vector.<int>>> = new Vector.<Vector.<Vector.<int>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<int>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length3 = name_443.name_445(protocolBuffer);
|
||||
items3 = new Vector.<int>(length3,true);
|
||||
items2[i2] = items3;
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
items3[i3] = int(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Vector.<int>> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
var items3:Vector.<int> = 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.<int>>> = Vector.<Vector.<Vector.<int>>>(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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
60
src/package_35/VectorCodecfloatLevel1.as
Normal file
60
src/package_35/VectorCodecfloatLevel1.as
Normal file
@@ -0,0 +1,60 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_157;
|
||||
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;
|
||||
|
||||
public class VectorCodecfloatLevel1 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecfloatLevel1(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_157,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.<Number> = new Vector.<Number>(length,true);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
result[i] = Number(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var value:Number = NaN;
|
||||
if(object == null)
|
||||
{
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var data:Vector.<Number> = Vector.<Number>(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_35/VectorCodecfloatLevel2.as
Normal file
89
src/package_35/VectorCodecfloatLevel2.as
Normal file
@@ -0,0 +1,89 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_157;
|
||||
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;
|
||||
|
||||
public class VectorCodecfloatLevel2 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecfloatLevel2(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_157,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.<Number> = null;
|
||||
var i2:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Number>> = new Vector.<Vector.<Number>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Number>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items2[i2] = Number(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Number> = 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.<Number>> = Vector.<Vector.<Number>>(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_35/VectorCodecfloatLevel3.as
Normal file
119
src/package_35/VectorCodecfloatLevel3.as
Normal file
@@ -0,0 +1,119 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_157;
|
||||
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;
|
||||
|
||||
public class VectorCodecfloatLevel3 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecfloatLevel3(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_157,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.<Number>> = null;
|
||||
var i2:int = 0;
|
||||
var length3:int = 0;
|
||||
var items3:Vector.<Number> = null;
|
||||
var i3:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Vector.<Number>>> = new Vector.<Vector.<Vector.<Number>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<Number>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length3 = name_443.name_445(protocolBuffer);
|
||||
items3 = new Vector.<Number>(length3,true);
|
||||
items2[i2] = items3;
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
items3[i3] = Number(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Vector.<Number>> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
var items3:Vector.<Number> = 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.<Number>>> = Vector.<Vector.<Vector.<Number>>>(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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
58
src/package_35/VectorCodecintLevel1.as
Normal file
58
src/package_35/VectorCodecintLevel1.as
Normal file
@@ -0,0 +1,58 @@
|
||||
package package_35
|
||||
{
|
||||
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;
|
||||
|
||||
public class VectorCodecintLevel1 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecintLevel1(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(int,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.<int> = new Vector.<int>(length,true);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
result[i] = int(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.<int> = Vector.<int>(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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
88
src/package_35/VectorCodecintLevel2.as
Normal file
88
src/package_35/VectorCodecintLevel2.as
Normal file
@@ -0,0 +1,88 @@
|
||||
package package_35
|
||||
{
|
||||
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;
|
||||
|
||||
public class VectorCodecintLevel2 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecintLevel2(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(int,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.<int> = null;
|
||||
var i2:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<int>> = new Vector.<Vector.<int>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<int>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items2[i2] = int(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<int> = 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.<int>> = Vector.<Vector.<int>>(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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
118
src/package_35/VectorCodecintLevel3.as
Normal file
118
src/package_35/VectorCodecintLevel3.as
Normal file
@@ -0,0 +1,118 @@
|
||||
package package_35
|
||||
{
|
||||
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;
|
||||
|
||||
public class VectorCodecintLevel3 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecintLevel3(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(int,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.<int>> = null;
|
||||
var i2:int = 0;
|
||||
var length3:int = 0;
|
||||
var items3:Vector.<int> = null;
|
||||
var i3:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Vector.<int>>> = new Vector.<Vector.<Vector.<int>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<int>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length3 = name_443.name_445(protocolBuffer);
|
||||
items3 = new Vector.<int>(length3,true);
|
||||
items2[i2] = items3;
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
items3[i3] = int(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Vector.<int>> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
var items3:Vector.<int> = 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.<int>>> = Vector.<Vector.<Vector.<int>>>(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_35/VectorCodeclongLevel1.as
Normal file
59
src/package_35/VectorCodeclongLevel1.as
Normal file
@@ -0,0 +1,59 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_155;
|
||||
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;
|
||||
|
||||
public class VectorCodeclongLevel1 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodeclongLevel1(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_155,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.<name_155> = new Vector.<name_155>(length,true);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
result[i] = name_155(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.<name_155> = Vector.<name_155>(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_35/VectorCodeclongLevel2.as
Normal file
89
src/package_35/VectorCodeclongLevel2.as
Normal file
@@ -0,0 +1,89 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_155;
|
||||
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;
|
||||
|
||||
public class VectorCodeclongLevel2 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodeclongLevel2(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_155,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.<name_155> = null;
|
||||
var i2:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<name_155>> = new Vector.<Vector.<name_155>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<name_155>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items2[i2] = name_155(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<name_155> = 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.<name_155>> = Vector.<Vector.<name_155>>(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_35/VectorCodeclongLevel3.as
Normal file
119
src/package_35/VectorCodeclongLevel3.as
Normal file
@@ -0,0 +1,119 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_155;
|
||||
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;
|
||||
|
||||
public class VectorCodeclongLevel3 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodeclongLevel3(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_155,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.<name_155>> = null;
|
||||
var i2:int = 0;
|
||||
var length3:int = 0;
|
||||
var items3:Vector.<name_155> = null;
|
||||
var i3:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Vector.<name_155>>> = new Vector.<Vector.<Vector.<name_155>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<name_155>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length3 = name_443.name_445(protocolBuffer);
|
||||
items3 = new Vector.<name_155>(length3,true);
|
||||
items2[i2] = items3;
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
items3[i3] = name_155(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Vector.<name_155>> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
var items3:Vector.<name_155> = 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.<name_155>>> = Vector.<Vector.<Vector.<name_155>>>(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_35/VectorCodecshortLevel1.as
Normal file
59
src/package_35/VectorCodecshortLevel1.as
Normal file
@@ -0,0 +1,59 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_158;
|
||||
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;
|
||||
|
||||
public class VectorCodecshortLevel1 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecshortLevel1(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_158,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.<int> = new Vector.<int>(length,true);
|
||||
for(var i:int = 0; i < length; i++)
|
||||
{
|
||||
result[i] = int(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.<int> = Vector.<int>(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_35/VectorCodecshortLevel2.as
Normal file
89
src/package_35/VectorCodecshortLevel2.as
Normal file
@@ -0,0 +1,89 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_158;
|
||||
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;
|
||||
|
||||
public class VectorCodecshortLevel2 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecshortLevel2(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_158,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.<int> = null;
|
||||
var i2:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<int>> = new Vector.<Vector.<int>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<int>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; i2++)
|
||||
{
|
||||
items2[i2] = int(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<int> = 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.<int>> = Vector.<Vector.<int>>(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_35/VectorCodecshortLevel3.as
Normal file
119
src/package_35/VectorCodecshortLevel3.as
Normal file
@@ -0,0 +1,119 @@
|
||||
package package_35
|
||||
{
|
||||
import package_32.name_148;
|
||||
import package_33.name_158;
|
||||
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;
|
||||
|
||||
public class VectorCodecshortLevel3 implements name_152
|
||||
{
|
||||
private var elementCodec:name_152;
|
||||
|
||||
private var optionalElement:Boolean;
|
||||
|
||||
public function VectorCodecshortLevel3(optionalElement:Boolean)
|
||||
{
|
||||
super();
|
||||
this.optionalElement = optionalElement;
|
||||
}
|
||||
|
||||
public function init(protocol:name_163) : void
|
||||
{
|
||||
this.elementCodec = protocol.name_448(new name_148(name_158,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.<int>> = null;
|
||||
var i2:int = 0;
|
||||
var length3:int = 0;
|
||||
var items3:Vector.<int> = null;
|
||||
var i3:int = 0;
|
||||
var length1:int = name_443.name_445(protocolBuffer);
|
||||
var result:Vector.<Vector.<Vector.<int>>> = new Vector.<Vector.<Vector.<int>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length2 = name_443.name_445(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<int>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.name_447())
|
||||
{
|
||||
length3 = name_443.name_445(protocolBuffer);
|
||||
items3 = new Vector.<int>(length3,true);
|
||||
items2[i2] = items3;
|
||||
for(i3 = 0; i3 < length3; i3++)
|
||||
{
|
||||
items3[i3] = int(this.elementCodec.method_296(protocolBuffer));
|
||||
}
|
||||
}
|
||||
i2++;
|
||||
}
|
||||
}
|
||||
i1++;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public function method_295(protocolBuffer:name_442, object:Object) : void
|
||||
{
|
||||
var items2:Vector.<Vector.<int>> = null;
|
||||
var length2:int = 0;
|
||||
var i2:int = 0;
|
||||
var items3:Vector.<int> = 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.<int>>> = Vector.<Vector.<Vector.<int>>>(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