mirror of
https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient.git
synced 2025-10-26 09:59:07 -07:00
Fix errors that were immediatley obvious
This commit is contained in:
@@ -20,9 +20,9 @@ package
|
||||
|
||||
private var area:Shape = new Shape();
|
||||
|
||||
private var §_-1q§:Bitmap = new EmbedPreloader();
|
||||
private var name_1q:Bitmap = new EmbedPreloader();
|
||||
|
||||
private var §_-Za§:Bitmap = new EmbedPreloaderA();
|
||||
private var name_Za:Bitmap = new EmbedPreloaderA();
|
||||
|
||||
private var progress:Bitmap = new EmbedProgress();
|
||||
|
||||
@@ -30,15 +30,15 @@ package
|
||||
|
||||
public var maps:Vector.<ExternalTextureResource>;
|
||||
|
||||
private var §_-dH§:int;
|
||||
private var name_dH:int;
|
||||
|
||||
private var counter:int;
|
||||
|
||||
private var baseURL:String;
|
||||
|
||||
private var §_-m§:TextureResource = new BitmapTextureResource(new BitmapData(1,1,false,8355711));
|
||||
private var name_m:TextureResource = new BitmapTextureResource(new BitmapData(1,1,false,8355711));
|
||||
|
||||
private var §_-UB§:Number = 0.09803921568627451;
|
||||
private var name_UB:Number = 0.09803921568627451;
|
||||
|
||||
public function Preloader()
|
||||
{
|
||||
@@ -46,9 +46,9 @@ package
|
||||
addChild(this.area);
|
||||
this.area.alpha = 1;
|
||||
this.progress.alpha = 1;
|
||||
this.§_-1q§.alpha = 1;
|
||||
addChild(this.§_-1q§);
|
||||
addChild(this.§_-Za§);
|
||||
this.name_1q.alpha = 1;
|
||||
addChild(this.name_1q);
|
||||
addChild(this.name_Za);
|
||||
addChild(this.progress);
|
||||
addEventListener(Event.ADDED_TO_STAGE,this.onAddToStage);
|
||||
addEventListener(Event.REMOVED_FROM_STAGE,this.onRemoveFromStage);
|
||||
@@ -95,9 +95,9 @@ package
|
||||
|
||||
private function onEnterFrame(param1:Event) : void
|
||||
{
|
||||
this.area.alpha -= this.§_-UB§;
|
||||
this.§_-1q§.alpha -= this.§_-UB§;
|
||||
this.progress.alpha -= this.§_-UB§;
|
||||
this.area.alpha -= this.name_UB;
|
||||
this.name_1q.alpha -= this.name_UB;
|
||||
this.progress.alpha -= this.name_UB;
|
||||
if(this.area.alpha <= 0)
|
||||
{
|
||||
removeEventListener(Event.ENTER_FRAME,this.onEnterFrame);
|
||||
@@ -111,8 +111,8 @@ package
|
||||
|
||||
private function onEnterFrameSwitch(param1:Event) : void
|
||||
{
|
||||
this.§_-Za§.alpha -= this.§_-UB§ * 1.5;
|
||||
if(this.§_-Za§.alpha <= 0)
|
||||
this.name_Za.alpha -= this.name_UB * 1.5;
|
||||
if(this.name_Za.alpha <= 0)
|
||||
{
|
||||
removeEventListener(Event.ENTER_FRAME,this.onEnterFrameSwitch);
|
||||
}
|
||||
@@ -121,17 +121,17 @@ package
|
||||
private function onResize(param1:Event = null) : void
|
||||
{
|
||||
this.area.graphics.clear();
|
||||
this.§_-1q§.x = Math.round(stage.stageWidth / 2 - this.§_-1q§.width / 2);
|
||||
this.§_-1q§.y = Math.round(stage.stageHeight / 2 - this.§_-1q§.height / 2) - 30;
|
||||
this.§_-Za§.x = this.§_-1q§.x;
|
||||
this.§_-Za§.y = this.§_-1q§.y;
|
||||
this.progress.x = this.§_-1q§.x + 2;
|
||||
this.progress.y = this.§_-1q§.y + 221;
|
||||
this.name_1q.x = Math.round(stage.stageWidth / 2 - this.name_1q.width / 2);
|
||||
this.name_1q.y = Math.round(stage.stageHeight / 2 - this.name_1q.height / 2) - 30;
|
||||
this.name_Za.x = this.name_1q.x;
|
||||
this.name_Za.y = this.name_1q.y;
|
||||
this.progress.x = this.name_1q.x + 2;
|
||||
this.progress.y = this.name_1q.y + 221;
|
||||
this.area.graphics.beginFill(0);
|
||||
this.area.graphics.drawRect(0,0,this.§_-1q§.x,stage.stageHeight);
|
||||
this.area.graphics.drawRect(this.§_-1q§.x,0,this.§_-1q§.width,this.§_-1q§.y);
|
||||
this.area.graphics.drawRect(this.§_-1q§.x + this.§_-1q§.width,0,stage.stageWidth - this.§_-1q§.width - this.§_-1q§.x,stage.stageHeight);
|
||||
this.area.graphics.drawRect(this.§_-1q§.x,this.§_-1q§.y + this.§_-1q§.height,this.§_-1q§.width,stage.stageHeight - this.§_-1q§.height - this.§_-1q§.y);
|
||||
this.area.graphics.drawRect(0,0,this.name_1q.x,stage.stageHeight);
|
||||
this.area.graphics.drawRect(this.name_1q.x,0,this.name_1q.width,this.name_1q.y);
|
||||
this.area.graphics.drawRect(this.name_1q.x + this.name_1q.width,0,stage.stageWidth - this.name_1q.width - this.name_1q.x,stage.stageHeight);
|
||||
this.area.graphics.drawRect(this.name_1q.x,this.name_1q.y + this.name_1q.height,this.name_1q.width,stage.stageHeight - this.name_1q.height - this.name_1q.y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,11 +52,11 @@ package
|
||||
|
||||
private var gameKernel:GameKernel;
|
||||
|
||||
private var §_-6s§:TanksHudDemo;
|
||||
private var name_6s:TanksHudDemo;
|
||||
|
||||
private var stage3D:Stage3D;
|
||||
|
||||
private var §_-nZ§:ClientConfigurator;
|
||||
private var name_nZ:ClientConfigurator;
|
||||
|
||||
private var preloader:Preloader = new Preloader();
|
||||
|
||||
@@ -182,8 +182,8 @@ package
|
||||
private function initClient() : void
|
||||
{
|
||||
new OSGi();
|
||||
this.§_-nZ§ = new ClientConfigurator();
|
||||
this.§_-nZ§.start(this,new Properties(loaderInfo.parameters),new Vector.<LibraryInfo>(),new ConnectionParameters(null,null,null),new Vector.<String>());
|
||||
this.name_nZ = new ClientConfigurator();
|
||||
this.name_nZ.start(this,new Properties(loaderInfo.parameters),new Vector.<LibraryInfo>(),new ConnectionParameters(null,null,null),new Vector.<String>());
|
||||
new ProtocolActivator().start(OSGi.getInstance());
|
||||
new platform.clients.fp10.libraries.alternativaprotocol.Activator().start(OSGi.getInstance());
|
||||
new platform.client.a3d.osgi.Activator().start(OSGi.getInstance());
|
||||
@@ -213,12 +213,12 @@ package
|
||||
|
||||
private function initHUD() : void
|
||||
{
|
||||
this.§_-6s§ = new TanksHudDemo();
|
||||
stage.addChild(this.§_-6s§);
|
||||
this.§_-6s§.mouseChildren = true;
|
||||
this.§_-6s§.mouseEnabled = true;
|
||||
this.§_-6s§.addEventListener("CLICK_FULL_SCREEN_BUTTON",this.onClickFullScreenButton);
|
||||
this.§_-6s§.addEventListener("CLICK_NEXT_TANK_BUTTON",this.onClickNextTankButton);
|
||||
this.name_6s = new TanksHudDemo();
|
||||
stage.addChild(this.name_6s);
|
||||
this.name_6s.mouseChildren = true;
|
||||
this.name_6s.mouseEnabled = true;
|
||||
this.name_6s.addEventListener("CLICK_FULL_SCREEN_BUTTON",this.onClickFullScreenButton);
|
||||
this.name_6s.addEventListener("CLICK_NEXT_TANK_BUTTON",this.onClickNextTankButton);
|
||||
stage.addChild(this.preloader);
|
||||
stage.addEventListener(KeyboardEvent.KEY_DOWN,this.onKeyDown);
|
||||
this.gameKernel.getRenderSystem().getCamera().diagramVerticalMargin = 85;
|
||||
@@ -245,14 +245,14 @@ package
|
||||
|
||||
private function onClickFullScreenButton(param1:Event) : void
|
||||
{
|
||||
stage.displayState = this.§_-6s§.isFullScreen ? StageDisplayState.FULL_SCREEN : StageDisplayState.NORMAL;
|
||||
stage.displayState = this.name_6s.isFullScreen ? StageDisplayState.FULL_SCREEN : StageDisplayState.NORMAL;
|
||||
stage.addEventListener(FullScreenEvent.FULL_SCREEN,this.onFullScreenChange);
|
||||
}
|
||||
|
||||
private function onFullScreenChange(param1:Event) : void
|
||||
{
|
||||
stage.removeEventListener(FullScreenEvent.FULL_SCREEN,this.onFullScreenChange);
|
||||
this.§_-6s§.isFullScreen = stage.displayState != StageDisplayState.NORMAL;
|
||||
this.name_6s.isFullScreen = stage.displayState != StageDisplayState.NORMAL;
|
||||
}
|
||||
|
||||
private function onClickNextTankButton(param1:Event) : void
|
||||
@@ -288,9 +288,9 @@ package
|
||||
_loc2_ = this.gameKernel.getRenderSystem().getAxisIndicator();
|
||||
_loc2_.y = stage.stageHeight - _loc2_.size;
|
||||
}
|
||||
if(this.§_-6s§ != null)
|
||||
if(this.name_6s != null)
|
||||
{
|
||||
this.§_-6s§.resize(stage.stageWidth,stage.stageHeight);
|
||||
this.name_6s.resize(stage.stageWidth,stage.stageHeight);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ package _codec
|
||||
var result:Vector.<Vector.<String>> = new Vector.<Vector.<String>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<String>(length2,true);
|
||||
|
||||
@@ -40,14 +40,14 @@ package _codec
|
||||
var result:Vector.<Vector.<Vector.<String>>> = new Vector.<Vector.<Vector.<String>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<String>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<String>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec
|
||||
var result:Vector.<Vector.<int>> = new Vector.<Vector.<int>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<int>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec
|
||||
var result:Vector.<Vector.<Vector.<int>>> = new Vector.<Vector.<Vector.<int>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<int>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<int>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec
|
||||
var result:Vector.<Vector.<Number>> = new Vector.<Vector.<Number>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Number>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec
|
||||
var result:Vector.<Vector.<Vector.<Number>>> = new Vector.<Vector.<Vector.<Number>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<Number>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<Number>(length3,true);
|
||||
|
||||
@@ -37,7 +37,7 @@ package _codec
|
||||
var result:Vector.<Vector.<int>> = new Vector.<Vector.<int>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<int>(length2,true);
|
||||
|
||||
@@ -40,14 +40,14 @@ package _codec
|
||||
var result:Vector.<Vector.<Vector.<int>>> = new Vector.<Vector.<Vector.<int>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<int>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<int>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec
|
||||
var result:Vector.<Vector.<Long>> = new Vector.<Vector.<Long>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Long>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec
|
||||
var result:Vector.<Vector.<Vector.<Long>>> = new Vector.<Vector.<Vector.<Long>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<Long>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<Long>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec
|
||||
var result:Vector.<Vector.<int>> = new Vector.<Vector.<int>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<int>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec
|
||||
var result:Vector.<Vector.<Vector.<int>>> = new Vector.<Vector.<Vector.<int>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<int>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<int>(length3,true);
|
||||
|
||||
@@ -13,29 +13,29 @@ package _codec.commons
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Bx§:ICodec;
|
||||
private var name_Bx:ICodec;
|
||||
|
||||
private var §_-Qh§:ICodec;
|
||||
private var name_Qh:ICodec;
|
||||
|
||||
private var §_-ir§:ICodec;
|
||||
private var name_ir:ICodec;
|
||||
|
||||
private var §_-p§:ICodec;
|
||||
private var name_p:ICodec;
|
||||
|
||||
private var §_-Kw§:ICodec;
|
||||
private var name_Kw:ICodec;
|
||||
|
||||
private var §_-PP§:ICodec;
|
||||
private var name_PP:ICodec;
|
||||
|
||||
private var §_-e7§:ICodec;
|
||||
private var name_e7:ICodec;
|
||||
|
||||
private var §_-QE§:ICodec;
|
||||
private var name_QE:ICodec;
|
||||
|
||||
private var §_-SL§:ICodec;
|
||||
private var name_SL:ICodec;
|
||||
|
||||
private var §for §:ICodec;
|
||||
private var name_for:ICodec;
|
||||
|
||||
private var §_-Hb§:ICodec;
|
||||
private var name_Hb:ICodec;
|
||||
|
||||
private var §_-3B§:ICodec;
|
||||
private var name_3B:ICodec;
|
||||
|
||||
public function CodecA3DMatrix()
|
||||
{
|
||||
@@ -44,46 +44,46 @@ package _codec.commons
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Bx§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-Qh§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-ir§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-p§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-Kw§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-PP§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-e7§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-QE§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-SL§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§for § = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-Hb§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-3B§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_Bx = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_Qh = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_ir = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_p = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_Kw = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_PP = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_e7 = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_QE = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_SL = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_for = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_Hb = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_3B = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_a:Number = Number(this.§_-Bx§.decode(protocolBuffer) as Number);
|
||||
var value_a:Number = Number(this.name_Bx.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","a",value_a);
|
||||
var value_b:Number = Number(this.§_-Qh§.decode(protocolBuffer) as Number);
|
||||
var value_b:Number = Number(this.name_Qh.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","b",value_b);
|
||||
var value_c:Number = Number(this.§_-ir§.decode(protocolBuffer) as Number);
|
||||
var value_c:Number = Number(this.name_ir.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","c",value_c);
|
||||
var value_d:Number = Number(this.§_-p§.decode(protocolBuffer) as Number);
|
||||
var value_d:Number = Number(this.name_p.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","d",value_d);
|
||||
var value_e:Number = Number(this.§_-Kw§.decode(protocolBuffer) as Number);
|
||||
var value_e:Number = Number(this.name_Kw.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","e",value_e);
|
||||
var value_f:Number = Number(this.§_-PP§.decode(protocolBuffer) as Number);
|
||||
var value_f:Number = Number(this.name_PP.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","f",value_f);
|
||||
var value_g:Number = Number(this.§_-e7§.decode(protocolBuffer) as Number);
|
||||
var value_g:Number = Number(this.name_e7.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","g",value_g);
|
||||
var value_h:Number = Number(this.§_-QE§.decode(protocolBuffer) as Number);
|
||||
var value_h:Number = Number(this.name_QE.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","h",value_h);
|
||||
var value_i:Number = Number(this.§_-SL§.decode(protocolBuffer) as Number);
|
||||
var value_i:Number = Number(this.name_SL.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","i",value_i);
|
||||
var value_j:Number = Number(this.§for §.decode(protocolBuffer) as Number);
|
||||
var value_j:Number = Number(this.name_for.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","j",value_j);
|
||||
var value_k:Number = Number(this.§_-Hb§.decode(protocolBuffer) as Number);
|
||||
var value_k:Number = Number(this.name_Hb.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","k",value_k);
|
||||
var value_l:Number = Number(this.§_-3B§.decode(protocolBuffer) as Number);
|
||||
var value_l:Number = Number(this.name_3B.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.A3DMatrix","l",value_l);
|
||||
return new A3DMatrix(value_a,value_b,value_c,value_d,value_e,value_f,value_g,value_h,value_i,value_j,value_k,value_l);
|
||||
}
|
||||
@@ -95,18 +95,18 @@ package _codec.commons
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DMatrix = A3DMatrix(object);
|
||||
this.§_-Bx§.encode(protocolBuffer,struct.a);
|
||||
this.§_-Qh§.encode(protocolBuffer,struct.b);
|
||||
this.§_-ir§.encode(protocolBuffer,struct.c);
|
||||
this.§_-p§.encode(protocolBuffer,struct.d);
|
||||
this.§_-Kw§.encode(protocolBuffer,struct.e);
|
||||
this.§_-PP§.encode(protocolBuffer,struct.f);
|
||||
this.§_-e7§.encode(protocolBuffer,struct.g);
|
||||
this.§_-QE§.encode(protocolBuffer,struct.h);
|
||||
this.§_-SL§.encode(protocolBuffer,struct.i);
|
||||
this.§for §.encode(protocolBuffer,struct.j);
|
||||
this.§_-Hb§.encode(protocolBuffer,struct.k);
|
||||
this.§_-3B§.encode(protocolBuffer,struct.l);
|
||||
this.name_Bx.encode(protocolBuffer,struct.a);
|
||||
this.name_Qh.encode(protocolBuffer,struct.b);
|
||||
this.name_ir.encode(protocolBuffer,struct.c);
|
||||
this.name_p.encode(protocolBuffer,struct.d);
|
||||
this.name_Kw.encode(protocolBuffer,struct.e);
|
||||
this.name_PP.encode(protocolBuffer,struct.f);
|
||||
this.name_e7.encode(protocolBuffer,struct.g);
|
||||
this.name_QE.encode(protocolBuffer,struct.h);
|
||||
this.name_SL.encode(protocolBuffer,struct.i);
|
||||
this.name_for.encode(protocolBuffer,struct.j);
|
||||
this.name_Hb.encode(protocolBuffer,struct.k);
|
||||
this.name_3B.encode(protocolBuffer,struct.l);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ package _codec.commons
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
public function CodecId()
|
||||
{
|
||||
@@ -21,13 +21,13 @@ package _codec.commons
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(uint,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(uint,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_id:uint = uint(this.§_-2o§.decode(protocolBuffer) as uint);
|
||||
var value_id:uint = uint(this.name_2o.decode(protocolBuffer) as uint);
|
||||
log.log("codec","struct %1 field %2 value %3","commons.Id","id",value_id);
|
||||
return new Id(value_id);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ package _codec.commons
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:Id = Id(object);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.commons
|
||||
var result:Vector.<Vector.<A3DMatrix>> = new Vector.<Vector.<A3DMatrix>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DMatrix>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.commons
|
||||
var result:Vector.<Vector.<Vector.<A3DMatrix>>> = new Vector.<Vector.<Vector.<A3DMatrix>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DMatrix>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DMatrix>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.commons
|
||||
var result:Vector.<Vector.<Id>> = new Vector.<Vector.<Id>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Id>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.commons
|
||||
var result:Vector.<Vector.<Vector.<Id>>> = new Vector.<Vector.<Vector.<Id>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<Id>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<Id>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.unsigned
|
||||
var result:Vector.<Vector.<uint>> = new Vector.<Vector.<uint>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<uint>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.unsigned
|
||||
var result:Vector.<Vector.<Vector.<uint>>> = new Vector.<Vector.<Vector.<uint>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<uint>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<uint>(length3,true);
|
||||
|
||||
@@ -37,7 +37,7 @@ package _codec.unsigned
|
||||
var result:Vector.<Vector.<uint>> = new Vector.<Vector.<uint>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<uint>(length2,true);
|
||||
|
||||
@@ -40,14 +40,14 @@ package _codec.unsigned
|
||||
var result:Vector.<Vector.<Vector.<uint>>> = new Vector.<Vector.<Vector.<uint>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<uint>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<uint>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.unsigned
|
||||
var result:Vector.<Vector.<uint>> = new Vector.<Vector.<uint>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<uint>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.unsigned
|
||||
var result:Vector.<Vector.<Vector.<uint>>> = new Vector.<Vector.<Vector.<uint>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<uint>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<uint>(length3,true);
|
||||
|
||||
@@ -19,17 +19,17 @@ package _codec.versions.version1.a3d
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-EA§:ICodec;
|
||||
private var name_EA:ICodec;
|
||||
|
||||
private var §_-PA§:ICodec;
|
||||
private var name_PA:ICodec;
|
||||
|
||||
private var §_-Sd§:ICodec;
|
||||
private var name_Sd:ICodec;
|
||||
|
||||
private var §_-dB§:ICodec;
|
||||
private var name_dB:ICodec;
|
||||
|
||||
private var §_-77§:ICodec;
|
||||
private var name_77:ICodec;
|
||||
|
||||
private var §_-1x§:ICodec;
|
||||
private var name_1x:ICodec;
|
||||
|
||||
public function CodecA3D()
|
||||
{
|
||||
@@ -38,28 +38,28 @@ package _codec.versions.version1.a3d
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-EA§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DBox,false),true,1));
|
||||
this.§_-PA§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DGeometry,false),true,1));
|
||||
this.§_-Sd§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DImage,false),true,1));
|
||||
this.§_-dB§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DMap,false),true,1));
|
||||
this.§_-77§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DMaterial,false),true,1));
|
||||
this.§_-1x§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DObject,false),true,1));
|
||||
this.name_EA = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DBox,false),true,1));
|
||||
this.name_PA = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DGeometry,false),true,1));
|
||||
this.name_Sd = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DImage,false),true,1));
|
||||
this.name_dB = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DMap,false),true,1));
|
||||
this.name_77 = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DMaterial,false),true,1));
|
||||
this.name_1x = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DObject,false),true,1));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_boxes:Vector.<A3DBox> = this.§_-EA§.decode(protocolBuffer) as Vector.<A3DBox>;
|
||||
var value_boxes:Vector.<A3DBox> = this.name_EA.decode(protocolBuffer) as Vector.<A3DBox>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.A3D","boxes",value_boxes);
|
||||
var value_geometries:Vector.<A3DGeometry> = this.§_-PA§.decode(protocolBuffer) as Vector.<A3DGeometry>;
|
||||
var value_geometries:Vector.<A3DGeometry> = this.name_PA.decode(protocolBuffer) as Vector.<A3DGeometry>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.A3D","geometries",value_geometries);
|
||||
var value_images:Vector.<A3DImage> = this.§_-Sd§.decode(protocolBuffer) as Vector.<A3DImage>;
|
||||
var value_images:Vector.<A3DImage> = this.name_Sd.decode(protocolBuffer) as Vector.<A3DImage>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.A3D","images",value_images);
|
||||
var value_maps:Vector.<A3DMap> = this.§_-dB§.decode(protocolBuffer) as Vector.<A3DMap>;
|
||||
var value_maps:Vector.<A3DMap> = this.name_dB.decode(protocolBuffer) as Vector.<A3DMap>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.A3D","maps",value_maps);
|
||||
var value_materials:Vector.<A3DMaterial> = this.§_-77§.decode(protocolBuffer) as Vector.<A3DMaterial>;
|
||||
var value_materials:Vector.<A3DMaterial> = this.name_77.decode(protocolBuffer) as Vector.<A3DMaterial>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.A3D","materials",value_materials);
|
||||
var value_objects:Vector.<A3DObject> = this.§_-1x§.decode(protocolBuffer) as Vector.<A3DObject>;
|
||||
var value_objects:Vector.<A3DObject> = this.name_1x.decode(protocolBuffer) as Vector.<A3DObject>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.A3D","objects",value_objects);
|
||||
return new A3D(value_boxes,value_geometries,value_images,value_maps,value_materials,value_objects);
|
||||
}
|
||||
@@ -71,12 +71,12 @@ package _codec.versions.version1.a3d
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D = A3D(object);
|
||||
this.§_-EA§.encode(protocolBuffer,struct.boxes);
|
||||
this.§_-PA§.encode(protocolBuffer,struct.geometries);
|
||||
this.§_-Sd§.encode(protocolBuffer,struct.images);
|
||||
this.§_-dB§.encode(protocolBuffer,struct.maps);
|
||||
this.§_-77§.encode(protocolBuffer,struct.materials);
|
||||
this.§_-1x§.encode(protocolBuffer,struct.objects);
|
||||
this.name_EA.encode(protocolBuffer,struct.boxes);
|
||||
this.name_PA.encode(protocolBuffer,struct.geometries);
|
||||
this.name_Sd.encode(protocolBuffer,struct.images);
|
||||
this.name_dB.encode(protocolBuffer,struct.maps);
|
||||
this.name_77.encode(protocolBuffer,struct.materials);
|
||||
this.name_1x.encode(protocolBuffer,struct.objects);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d
|
||||
var result:Vector.<Vector.<A3D>> = new Vector.<Vector.<A3D>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d
|
||||
var result:Vector.<Vector.<Vector.<A3D>>> = new Vector.<Vector.<Vector.<A3D>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D>(length3,true);
|
||||
|
||||
@@ -16,11 +16,11 @@ package _codec.versions.version1.a3d.geometry
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-XF§:ICodec;
|
||||
private var name_XF:ICodec;
|
||||
|
||||
private var §_-U9§:ICodec;
|
||||
private var name_U9:ICodec;
|
||||
|
||||
public function CodecA3DGeometry()
|
||||
{
|
||||
@@ -29,19 +29,19 @@ package _codec.versions.version1.a3d.geometry
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-XF§ = protocol.getCodec(new TypeCodecInfo(A3DIndexBuffer,true));
|
||||
this.§_-U9§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DVertexBuffer,false),true,1));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_XF = protocol.getCodec(new TypeCodecInfo(A3DIndexBuffer,true));
|
||||
this.name_U9 = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DVertexBuffer,false),true,1));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_id:Id = this.§_-2o§.decode(protocolBuffer) as Id;
|
||||
var value_id:Id = this.name_2o.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.geometry.A3DGeometry","id",value_id);
|
||||
var value_indexBuffer:A3DIndexBuffer = this.§_-XF§.decode(protocolBuffer) as A3DIndexBuffer;
|
||||
var value_indexBuffer:A3DIndexBuffer = this.name_XF.decode(protocolBuffer) as A3DIndexBuffer;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.geometry.A3DGeometry","indexBuffer",value_indexBuffer);
|
||||
var value_vertexBuffers:Vector.<A3DVertexBuffer> = this.§_-U9§.decode(protocolBuffer) as Vector.<A3DVertexBuffer>;
|
||||
var value_vertexBuffers:Vector.<A3DVertexBuffer> = this.name_U9.decode(protocolBuffer) as Vector.<A3DVertexBuffer>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.geometry.A3DGeometry","vertexBuffers",value_vertexBuffers);
|
||||
return new A3DGeometry(value_id,value_indexBuffer,value_vertexBuffers);
|
||||
}
|
||||
@@ -53,9 +53,9 @@ package _codec.versions.version1.a3d.geometry
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DGeometry = A3DGeometry(object);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-XF§.encode(protocolBuffer,struct.indexBuffer);
|
||||
this.§_-U9§.encode(protocolBuffer,struct.vertexBuffers);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_XF.encode(protocolBuffer,struct.indexBuffer);
|
||||
this.name_U9.encode(protocolBuffer,struct.vertexBuffers);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,9 +13,9 @@ package _codec.versions.version1.a3d.geometry
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-GN§:ICodec;
|
||||
private var name_GN:ICodec;
|
||||
|
||||
private var §_-mz§:ICodec;
|
||||
private var name_mz:ICodec;
|
||||
|
||||
public function CodecA3DIndexBuffer()
|
||||
{
|
||||
@@ -24,16 +24,16 @@ package _codec.versions.version1.a3d.geometry
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-GN§ = protocol.getCodec(new TypeCodecInfo(ByteArray,true));
|
||||
this.§_-mz§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_GN = protocol.getCodec(new TypeCodecInfo(ByteArray,true));
|
||||
this.name_mz = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_byteBuffer:ByteArray = this.§_-GN§.decode(protocolBuffer) as ByteArray;
|
||||
var value_byteBuffer:ByteArray = this.name_GN.decode(protocolBuffer) as ByteArray;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.geometry.A3DIndexBuffer","byteBuffer",value_byteBuffer);
|
||||
var value_indexCount:int = int(this.§_-mz§.decode(protocolBuffer) as int);
|
||||
var value_indexCount:int = int(this.name_mz.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.geometry.A3DIndexBuffer","indexCount",value_indexCount);
|
||||
return new A3DIndexBuffer(value_byteBuffer,value_indexCount);
|
||||
}
|
||||
@@ -45,8 +45,8 @@ package _codec.versions.version1.a3d.geometry
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DIndexBuffer = A3DIndexBuffer(object);
|
||||
this.§_-GN§.encode(protocolBuffer,struct.byteBuffer);
|
||||
this.§_-mz§.encode(protocolBuffer,struct.indexCount);
|
||||
this.name_GN.encode(protocolBuffer,struct.byteBuffer);
|
||||
this.name_mz.encode(protocolBuffer,struct.indexCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,11 +16,11 @@ package _codec.versions.version1.a3d.geometry
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Lj§:ICodec;
|
||||
private var name_Lj:ICodec;
|
||||
|
||||
private var §_-GN§:ICodec;
|
||||
private var name_GN:ICodec;
|
||||
|
||||
private var §_-hc§:ICodec;
|
||||
private var name_hc:ICodec;
|
||||
|
||||
public function CodecA3DVertexBuffer()
|
||||
{
|
||||
@@ -29,19 +29,19 @@ package _codec.versions.version1.a3d.geometry
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Lj§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(Byte,false),true,1));
|
||||
this.§_-GN§ = protocol.getCodec(new TypeCodecInfo(ByteArray,true));
|
||||
this.§_-hc§ = protocol.getCodec(new TypeCodecInfo(UShort,false));
|
||||
this.name_Lj = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(Byte,false),true,1));
|
||||
this.name_GN = protocol.getCodec(new TypeCodecInfo(ByteArray,true));
|
||||
this.name_hc = protocol.getCodec(new TypeCodecInfo(UShort,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_attributes:Vector.<int> = this.§_-Lj§.decode(protocolBuffer) as Vector.<int>;
|
||||
var value_attributes:Vector.<int> = this.name_Lj.decode(protocolBuffer) as Vector.<int>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.geometry.A3DVertexBuffer","attributes",value_attributes);
|
||||
var value_byteBuffer:ByteArray = this.§_-GN§.decode(protocolBuffer) as ByteArray;
|
||||
var value_byteBuffer:ByteArray = this.name_GN.decode(protocolBuffer) as ByteArray;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.geometry.A3DVertexBuffer","byteBuffer",value_byteBuffer);
|
||||
var value_vertexCount:uint = uint(this.§_-hc§.decode(protocolBuffer) as uint);
|
||||
var value_vertexCount:uint = uint(this.name_hc.decode(protocolBuffer) as uint);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.geometry.A3DVertexBuffer","vertexCount",value_vertexCount);
|
||||
return new A3DVertexBuffer(value_attributes,value_byteBuffer,value_vertexCount);
|
||||
}
|
||||
@@ -53,9 +53,9 @@ package _codec.versions.version1.a3d.geometry
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DVertexBuffer = A3DVertexBuffer(object);
|
||||
this.§_-Lj§.encode(protocolBuffer,struct.attributes);
|
||||
this.§_-GN§.encode(protocolBuffer,struct.byteBuffer);
|
||||
this.§_-hc§.encode(protocolBuffer,struct.vertexCount);
|
||||
this.name_Lj.encode(protocolBuffer,struct.attributes);
|
||||
this.name_GN.encode(protocolBuffer,struct.byteBuffer);
|
||||
this.name_hc.encode(protocolBuffer,struct.vertexCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.geometry
|
||||
var result:Vector.<Vector.<A3DGeometry>> = new Vector.<Vector.<A3DGeometry>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DGeometry>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.geometry
|
||||
var result:Vector.<Vector.<Vector.<A3DGeometry>>> = new Vector.<Vector.<Vector.<A3DGeometry>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DGeometry>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DGeometry>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.geometry
|
||||
var result:Vector.<Vector.<A3DIndexBuffer>> = new Vector.<Vector.<A3DIndexBuffer>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DIndexBuffer>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.geometry
|
||||
var result:Vector.<Vector.<Vector.<A3DIndexBuffer>>> = new Vector.<Vector.<Vector.<A3DIndexBuffer>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DIndexBuffer>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DIndexBuffer>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.geometry
|
||||
var result:Vector.<Vector.<A3DVertexBuffer>> = new Vector.<Vector.<A3DVertexBuffer>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DVertexBuffer>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.geometry
|
||||
var result:Vector.<Vector.<Vector.<A3DVertexBuffer>>> = new Vector.<Vector.<Vector.<A3DVertexBuffer>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DVertexBuffer>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DVertexBuffer>(length3,true);
|
||||
|
||||
@@ -12,7 +12,7 @@ package _codec.versions.version1.a3d.id
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
public function CodecParentId()
|
||||
{
|
||||
@@ -21,13 +21,13 @@ package _codec.versions.version1.a3d.id
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(uint,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(uint,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_id:uint = uint(this.§_-2o§.decode(protocolBuffer) as uint);
|
||||
var value_id:uint = uint(this.name_2o.decode(protocolBuffer) as uint);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.id.ParentId","id",value_id);
|
||||
return new ParentId(value_id);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ package _codec.versions.version1.a3d.id
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:ParentId = ParentId(object);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.id
|
||||
var result:Vector.<Vector.<ParentId>> = new Vector.<Vector.<ParentId>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<ParentId>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.id
|
||||
var result:Vector.<Vector.<Vector.<ParentId>>> = new Vector.<Vector.<Vector.<ParentId>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<ParentId>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<ParentId>(length3,true);
|
||||
|
||||
@@ -13,9 +13,9 @@ package _codec.versions.version1.a3d.materials
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-aV§:ICodec;
|
||||
private var name_aV:ICodec;
|
||||
|
||||
public function CodecA3DImage()
|
||||
{
|
||||
@@ -24,16 +24,16 @@ package _codec.versions.version1.a3d.materials
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-aV§ = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_aV = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_id:Id = this.§_-2o§.decode(protocolBuffer) as Id;
|
||||
var value_id:Id = this.name_2o.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DImage","id",value_id);
|
||||
var value_url:String = this.§_-aV§.decode(protocolBuffer) as String;
|
||||
var value_url:String = this.name_aV.decode(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);
|
||||
}
|
||||
@@ -45,8 +45,8 @@ package _codec.versions.version1.a3d.materials
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DImage = A3DImage(object);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-aV§.encode(protocolBuffer,struct.url);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_aV.encode(protocolBuffer,struct.url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,19 +15,19 @@ package _codec.versions.version1.a3d.materials
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-mC§:ICodec;
|
||||
private var name_mC:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-2N§:ICodec;
|
||||
private var name_2N:ICodec;
|
||||
|
||||
private var §_-K5§:ICodec;
|
||||
private var name_K5:ICodec;
|
||||
|
||||
private var §_-Q5§:ICodec;
|
||||
private var name_Q5:ICodec;
|
||||
|
||||
private var §_-WH§:ICodec;
|
||||
private var name_WH:ICodec;
|
||||
|
||||
private var §_-kh§:ICodec;
|
||||
private var name_kh:ICodec;
|
||||
|
||||
public function CodecA3DMap()
|
||||
{
|
||||
@@ -36,31 +36,31 @@ package _codec.versions.version1.a3d.materials
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-mC§ = protocol.getCodec(new TypeCodecInfo(UShort,false));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-2N§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-K5§ = protocol.getCodec(new TypeCodecInfo(Float,true));
|
||||
this.§_-Q5§ = protocol.getCodec(new TypeCodecInfo(Float,true));
|
||||
this.§_-WH§ = protocol.getCodec(new TypeCodecInfo(Float,true));
|
||||
this.§_-kh§ = protocol.getCodec(new TypeCodecInfo(Float,true));
|
||||
this.name_mC = protocol.getCodec(new TypeCodecInfo(UShort,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_2N = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_K5 = protocol.getCodec(new TypeCodecInfo(Float,true));
|
||||
this.name_Q5 = protocol.getCodec(new TypeCodecInfo(Float,true));
|
||||
this.name_WH = protocol.getCodec(new TypeCodecInfo(Float,true));
|
||||
this.name_kh = protocol.getCodec(new TypeCodecInfo(Float,true));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_channel:uint = uint(this.§_-mC§.decode(protocolBuffer) as uint);
|
||||
var value_channel:uint = uint(this.name_mC.decode(protocolBuffer) as uint);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","channel",value_channel);
|
||||
var value_id:Id = this.§_-2o§.decode(protocolBuffer) as Id;
|
||||
var value_id:Id = this.name_2o.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","id",value_id);
|
||||
var value_imageId:Id = this.§_-2N§.decode(protocolBuffer) as Id;
|
||||
var value_imageId:Id = this.name_2N.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMap","imageId",value_imageId);
|
||||
var value_uOffset:Number = Number(this.§_-K5§.decode(protocolBuffer) as Number);
|
||||
var value_uOffset:Number = Number(this.name_K5.decode(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.§_-Q5§.decode(protocolBuffer) as Number);
|
||||
var value_uScale:Number = Number(this.name_Q5.decode(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.§_-WH§.decode(protocolBuffer) as Number);
|
||||
var value_vOffset:Number = Number(this.name_WH.decode(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.§_-kh§.decode(protocolBuffer) as Number);
|
||||
var value_vScale:Number = Number(this.name_kh.decode(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);
|
||||
}
|
||||
@@ -72,13 +72,13 @@ package _codec.versions.version1.a3d.materials
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DMap = A3DMap(object);
|
||||
this.§_-mC§.encode(protocolBuffer,struct.channel);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-2N§.encode(protocolBuffer,struct.imageId);
|
||||
this.§_-K5§.encode(protocolBuffer,struct.uOffset);
|
||||
this.§_-Q5§.encode(protocolBuffer,struct.uScale);
|
||||
this.§_-WH§.encode(protocolBuffer,struct.vOffset);
|
||||
this.§_-kh§.encode(protocolBuffer,struct.vScale);
|
||||
this.name_mC.encode(protocolBuffer,struct.channel);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_2N.encode(protocolBuffer,struct.imageId);
|
||||
this.name_K5.encode(protocolBuffer,struct.uOffset);
|
||||
this.name_Q5.encode(protocolBuffer,struct.uScale);
|
||||
this.name_WH.encode(protocolBuffer,struct.vOffset);
|
||||
this.name_kh.encode(protocolBuffer,struct.vScale);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,19 +13,19 @@ package _codec.versions.version1.a3d.materials
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-9A§:ICodec;
|
||||
private var name_9A:ICodec;
|
||||
|
||||
private var §_-hw§:ICodec;
|
||||
private var name_hw:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-Hu§:ICodec;
|
||||
private var name_Hu:ICodec;
|
||||
|
||||
private var §_-GK§:ICodec;
|
||||
private var name_GK:ICodec;
|
||||
|
||||
private var §_-LZ§:ICodec;
|
||||
private var name_LZ:ICodec;
|
||||
|
||||
private var §_-FU§:ICodec;
|
||||
private var name_FU:ICodec;
|
||||
|
||||
public function CodecA3DMaterial()
|
||||
{
|
||||
@@ -34,31 +34,31 @@ package _codec.versions.version1.a3d.materials
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-9A§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-hw§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-Hu§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-GK§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-LZ§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-FU§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_9A = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_hw = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_Hu = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_GK = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_LZ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_FU = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_diffuseMapId:Id = this.§_-9A§.decode(protocolBuffer) as Id;
|
||||
var value_diffuseMapId:Id = this.name_9A.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","diffuseMapId",value_diffuseMapId);
|
||||
var value_glossinessMapId:Id = this.§_-hw§.decode(protocolBuffer) as Id;
|
||||
var value_glossinessMapId:Id = this.name_hw.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","glossinessMapId",value_glossinessMapId);
|
||||
var value_id:Id = this.§_-2o§.decode(protocolBuffer) as Id;
|
||||
var value_id:Id = this.name_2o.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","id",value_id);
|
||||
var value_lightMapId:Id = this.§_-Hu§.decode(protocolBuffer) as Id;
|
||||
var value_lightMapId:Id = this.name_Hu.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","lightMapId",value_lightMapId);
|
||||
var value_normalMapId:Id = this.§_-GK§.decode(protocolBuffer) as Id;
|
||||
var value_normalMapId:Id = this.name_GK.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","normalMapId",value_normalMapId);
|
||||
var value_opacityMapId:Id = this.§_-LZ§.decode(protocolBuffer) as Id;
|
||||
var value_opacityMapId:Id = this.name_LZ.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.materials.A3DMaterial","opacityMapId",value_opacityMapId);
|
||||
var value_specularMapId:Id = this.§_-FU§.decode(protocolBuffer) as Id;
|
||||
var value_specularMapId:Id = this.name_FU.decode(protocolBuffer) as Id;
|
||||
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);
|
||||
}
|
||||
@@ -70,13 +70,13 @@ package _codec.versions.version1.a3d.materials
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DMaterial = A3DMaterial(object);
|
||||
this.§_-9A§.encode(protocolBuffer,struct.diffuseMapId);
|
||||
this.§_-hw§.encode(protocolBuffer,struct.glossinessMapId);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-Hu§.encode(protocolBuffer,struct.lightMapId);
|
||||
this.§_-GK§.encode(protocolBuffer,struct.normalMapId);
|
||||
this.§_-LZ§.encode(protocolBuffer,struct.opacityMapId);
|
||||
this.§_-FU§.encode(protocolBuffer,struct.specularMapId);
|
||||
this.name_9A.encode(protocolBuffer,struct.diffuseMapId);
|
||||
this.name_hw.encode(protocolBuffer,struct.glossinessMapId);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_Hu.encode(protocolBuffer,struct.lightMapId);
|
||||
this.name_GK.encode(protocolBuffer,struct.normalMapId);
|
||||
this.name_LZ.encode(protocolBuffer,struct.opacityMapId);
|
||||
this.name_FU.encode(protocolBuffer,struct.specularMapId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.materials
|
||||
var result:Vector.<Vector.<A3DImage>> = new Vector.<Vector.<A3DImage>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DImage>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.materials
|
||||
var result:Vector.<Vector.<Vector.<A3DImage>>> = new Vector.<Vector.<Vector.<A3DImage>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DImage>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DImage>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.materials
|
||||
var result:Vector.<Vector.<A3DMap>> = new Vector.<Vector.<A3DMap>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DMap>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.materials
|
||||
var result:Vector.<Vector.<Vector.<A3DMap>>> = new Vector.<Vector.<Vector.<A3DMap>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DMap>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DMap>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.materials
|
||||
var result:Vector.<Vector.<A3DMaterial>> = new Vector.<Vector.<A3DMaterial>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DMaterial>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.materials
|
||||
var result:Vector.<Vector.<Vector.<A3DMaterial>>> = new Vector.<Vector.<Vector.<A3DMaterial>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DMaterial>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DMaterial>(length3,true);
|
||||
|
||||
@@ -15,9 +15,9 @@ package _codec.versions.version1.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-pM§:ICodec;
|
||||
private var name_pM:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
public function CodecA3DBox()
|
||||
{
|
||||
@@ -26,16 +26,16 @@ package _codec.versions.version1.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-pM§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(Float,false),true,1));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_pM = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(Float,false),true,1));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_box:Vector.<Number> = this.§_-pM§.decode(protocolBuffer) as Vector.<Number>;
|
||||
var value_box:Vector.<Number> = this.name_pM.decode(protocolBuffer) as Vector.<Number>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DBox","box",value_box);
|
||||
var value_id:Id = this.§_-2o§.decode(protocolBuffer) as Id;
|
||||
var value_id:Id = this.name_2o.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DBox","id",value_id);
|
||||
return new A3DBox(value_box,value_id);
|
||||
}
|
||||
@@ -47,8 +47,8 @@ package _codec.versions.version1.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DBox = A3DBox(object);
|
||||
this.§_-pM§.encode(protocolBuffer,struct.box);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.name_pM.encode(protocolBuffer,struct.box);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,21 +17,21 @@ package _codec.versions.version1.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Dh§:ICodec;
|
||||
private var name_Dh:ICodec;
|
||||
|
||||
private var §_-e§:ICodec;
|
||||
private var name_e:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-XW§:ICodec;
|
||||
private var name_XW:ICodec;
|
||||
|
||||
private var §_-jk§:ICodec;
|
||||
private var name_jk:ICodec;
|
||||
|
||||
private var §_-Qr§:ICodec;
|
||||
private var name_Qr:ICodec;
|
||||
|
||||
private var §_-9u§:ICodec;
|
||||
private var name_9u:ICodec;
|
||||
|
||||
private var §_-h9§:ICodec;
|
||||
private var name_h9:ICodec;
|
||||
|
||||
public function CodecA3DObject()
|
||||
{
|
||||
@@ -40,34 +40,34 @@ package _codec.versions.version1.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Dh§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-e§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-XW§ = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.§_-jk§ = protocol.getCodec(new TypeCodecInfo(ParentId,true));
|
||||
this.§_-Qr§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DSurface,false),true,1));
|
||||
this.§_-9u§ = protocol.getCodec(new TypeCodecInfo(A3DTransformation,true));
|
||||
this.§_-h9§ = protocol.getCodec(new TypeCodecInfo(Boolean,true));
|
||||
this.name_Dh = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_e = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_XW = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.name_jk = protocol.getCodec(new TypeCodecInfo(ParentId,true));
|
||||
this.name_Qr = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3DSurface,false),true,1));
|
||||
this.name_9u = protocol.getCodec(new TypeCodecInfo(A3DTransformation,true));
|
||||
this.name_h9 = protocol.getCodec(new TypeCodecInfo(Boolean,true));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_boundBoxId:Id = this.§_-Dh§.decode(protocolBuffer) as Id;
|
||||
var value_boundBoxId:Id = this.name_Dh.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DObject","boundBoxId",value_boundBoxId);
|
||||
var value_geometryId:Id = this.§_-e§.decode(protocolBuffer) as Id;
|
||||
var value_geometryId:Id = this.name_e.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DObject","geometryId",value_geometryId);
|
||||
var value_id:Id = this.§_-2o§.decode(protocolBuffer) as Id;
|
||||
var value_id:Id = this.name_2o.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DObject","id",value_id);
|
||||
var value_name:String = this.§_-XW§.decode(protocolBuffer) as String;
|
||||
var value_name:String = this.name_XW.decode(protocolBuffer) as String;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DObject","name",value_name);
|
||||
var value_parentId:ParentId = this.§_-jk§.decode(protocolBuffer) as ParentId;
|
||||
var value_parentId:ParentId = this.name_jk.decode(protocolBuffer) as ParentId;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DObject","parentId",value_parentId);
|
||||
var value_surfaces:Vector.<A3DSurface> = this.§_-Qr§.decode(protocolBuffer) as Vector.<A3DSurface>;
|
||||
var value_surfaces:Vector.<A3DSurface> = this.name_Qr.decode(protocolBuffer) as Vector.<A3DSurface>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DObject","surfaces",value_surfaces);
|
||||
var value_transformation:A3DTransformation = this.§_-9u§.decode(protocolBuffer) as A3DTransformation;
|
||||
var value_transformation:A3DTransformation = this.name_9u.decode(protocolBuffer) as A3DTransformation;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DObject","transformation",value_transformation);
|
||||
var value_visible:Boolean = Boolean(this.§_-h9§.decode(protocolBuffer) as Boolean);
|
||||
var value_visible:Boolean = Boolean(this.name_h9.decode(protocolBuffer) as Boolean);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DObject","visible",value_visible);
|
||||
return new A3DObject(value_boundBoxId,value_geometryId,value_id,value_name,value_parentId,value_surfaces,value_transformation,value_visible);
|
||||
}
|
||||
@@ -79,14 +79,14 @@ package _codec.versions.version1.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DObject = A3DObject(object);
|
||||
this.§_-Dh§.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.§_-e§.encode(protocolBuffer,struct.geometryId);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-XW§.encode(protocolBuffer,struct.name);
|
||||
this.§_-jk§.encode(protocolBuffer,struct.parentId);
|
||||
this.§_-Qr§.encode(protocolBuffer,struct.surfaces);
|
||||
this.§_-9u§.encode(protocolBuffer,struct.transformation);
|
||||
this.§_-h9§.encode(protocolBuffer,struct.visible);
|
||||
this.name_Dh.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.name_e.encode(protocolBuffer,struct.geometryId);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_XW.encode(protocolBuffer,struct.name);
|
||||
this.name_jk.encode(protocolBuffer,struct.parentId);
|
||||
this.name_Qr.encode(protocolBuffer,struct.surfaces);
|
||||
this.name_9u.encode(protocolBuffer,struct.transformation);
|
||||
this.name_h9.encode(protocolBuffer,struct.visible);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,11 +13,11 @@ package _codec.versions.version1.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-AL§:ICodec;
|
||||
private var name_AL:ICodec;
|
||||
|
||||
private var §_-Av§:ICodec;
|
||||
private var name_Av:ICodec;
|
||||
|
||||
private var §_-pJ§:ICodec;
|
||||
private var name_pJ:ICodec;
|
||||
|
||||
public function CodecA3DSurface()
|
||||
{
|
||||
@@ -26,19 +26,19 @@ package _codec.versions.version1.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-AL§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-Av§ = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.§_-pJ§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_AL = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_Av = protocol.getCodec(new TypeCodecInfo(Id,true));
|
||||
this.name_pJ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_indexBegin:int = int(this.§_-AL§.decode(protocolBuffer) as int);
|
||||
var value_indexBegin:int = int(this.name_AL.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DSurface","indexBegin",value_indexBegin);
|
||||
var value_materialId:Id = this.§_-Av§.decode(protocolBuffer) as Id;
|
||||
var value_materialId:Id = this.name_Av.decode(protocolBuffer) as Id;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DSurface","materialId",value_materialId);
|
||||
var value_numTriangles:int = int(this.§_-pJ§.decode(protocolBuffer) as int);
|
||||
var value_numTriangles:int = int(this.name_pJ.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DSurface","numTriangles",value_numTriangles);
|
||||
return new A3DSurface(value_indexBegin,value_materialId,value_numTriangles);
|
||||
}
|
||||
@@ -50,9 +50,9 @@ package _codec.versions.version1.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DSurface = A3DSurface(object);
|
||||
this.§_-AL§.encode(protocolBuffer,struct.indexBegin);
|
||||
this.§_-Av§.encode(protocolBuffer,struct.materialId);
|
||||
this.§_-pJ§.encode(protocolBuffer,struct.numTriangles);
|
||||
this.name_AL.encode(protocolBuffer,struct.indexBegin);
|
||||
this.name_Av.encode(protocolBuffer,struct.materialId);
|
||||
this.name_pJ.encode(protocolBuffer,struct.numTriangles);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ package _codec.versions.version1.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-dG§:ICodec;
|
||||
private var name_dG:ICodec;
|
||||
|
||||
public function CodecA3DTransformation()
|
||||
{
|
||||
@@ -22,13 +22,13 @@ package _codec.versions.version1.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-dG§ = protocol.getCodec(new TypeCodecInfo(A3DMatrix,true));
|
||||
this.name_dG = protocol.getCodec(new TypeCodecInfo(A3DMatrix,true));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_matrix:A3DMatrix = this.§_-dG§.decode(protocolBuffer) as A3DMatrix;
|
||||
var value_matrix:A3DMatrix = this.name_dG.decode(protocolBuffer) as A3DMatrix;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version1.a3d.objects.A3DTransformation","matrix",value_matrix);
|
||||
return new A3DTransformation(value_matrix);
|
||||
}
|
||||
@@ -40,7 +40,7 @@ package _codec.versions.version1.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3DTransformation = A3DTransformation(object);
|
||||
this.§_-dG§.encode(protocolBuffer,struct.matrix);
|
||||
this.name_dG.encode(protocolBuffer,struct.matrix);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.objects
|
||||
var result:Vector.<Vector.<A3DBox>> = new Vector.<Vector.<A3DBox>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DBox>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.objects
|
||||
var result:Vector.<Vector.<Vector.<A3DBox>>> = new Vector.<Vector.<Vector.<A3DBox>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DBox>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DBox>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.objects
|
||||
var result:Vector.<Vector.<A3DObject>> = new Vector.<Vector.<A3DObject>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DObject>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.objects
|
||||
var result:Vector.<Vector.<Vector.<A3DObject>>> = new Vector.<Vector.<Vector.<A3DObject>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DObject>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DObject>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.objects
|
||||
var result:Vector.<Vector.<A3DSurface>> = new Vector.<Vector.<A3DSurface>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DSurface>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.objects
|
||||
var result:Vector.<Vector.<Vector.<A3DSurface>>> = new Vector.<Vector.<Vector.<A3DSurface>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DSurface>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DSurface>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version1.a3d.objects
|
||||
var result:Vector.<Vector.<A3DTransformation>> = new Vector.<Vector.<A3DTransformation>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3DTransformation>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version1.a3d.objects
|
||||
var result:Vector.<Vector.<Vector.<A3DTransformation>>> = new Vector.<Vector.<Vector.<A3DTransformation>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3DTransformation>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3DTransformation>(length3,true);
|
||||
|
||||
@@ -32,43 +32,43 @@ package _codec.versions.version2.a3d
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-8X§:ICodec;
|
||||
private var name_8X:ICodec;
|
||||
|
||||
private var §_-Fa§:ICodec;
|
||||
private var name_Fa:ICodec;
|
||||
|
||||
private var §_-Aj§:ICodec;
|
||||
private var name_Aj:ICodec;
|
||||
|
||||
private var §_-EA§:ICodec;
|
||||
private var name_EA:ICodec;
|
||||
|
||||
private var §_-lJ§:ICodec;
|
||||
private var name_lJ:ICodec;
|
||||
|
||||
private var §_-9f§:ICodec;
|
||||
private var name_9f:ICodec;
|
||||
|
||||
private var §_-GC§:ICodec;
|
||||
private var name_GC:ICodec;
|
||||
|
||||
private var §_-Sd§:ICodec;
|
||||
private var name_Sd:ICodec;
|
||||
|
||||
private var §_-76§:ICodec;
|
||||
private var name_76:ICodec;
|
||||
|
||||
private var §_-3f§:ICodec;
|
||||
private var name_3f:ICodec;
|
||||
|
||||
private var §_-dB§:ICodec;
|
||||
private var name_dB:ICodec;
|
||||
|
||||
private var §_-77§:ICodec;
|
||||
private var name_77:ICodec;
|
||||
|
||||
private var §_-PJ§:ICodec;
|
||||
private var name_PJ:ICodec;
|
||||
|
||||
private var §_-1x§:ICodec;
|
||||
private var name_1x:ICodec;
|
||||
|
||||
private var §_-aP§:ICodec;
|
||||
private var name_aP:ICodec;
|
||||
|
||||
private var §_-e9§:ICodec;
|
||||
private var name_e9:ICodec;
|
||||
|
||||
private var §_-3y§:ICodec;
|
||||
private var name_3y:ICodec;
|
||||
|
||||
private var §_-E2§:ICodec;
|
||||
private var name_E2:ICodec;
|
||||
|
||||
private var §_-U9§:ICodec;
|
||||
private var name_U9:ICodec;
|
||||
|
||||
public function CodecA3D2()
|
||||
{
|
||||
@@ -77,67 +77,67 @@ package _codec.versions.version2.a3d
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-8X§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2AmbientLight,false),true,1));
|
||||
this.§_-Fa§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2AnimationClip,false),true,1));
|
||||
this.§_-Aj§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Track,false),true,1));
|
||||
this.§_-EA§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Box,false),true,1));
|
||||
this.§_-lJ§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2CubeMap,false),true,1));
|
||||
this.§_-9f§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Decal,false),true,1));
|
||||
this.§_-GC§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2DirectionalLight,false),true,1));
|
||||
this.§_-Sd§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Image,false),true,1));
|
||||
this.§_-76§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2IndexBuffer,false),true,1));
|
||||
this.§_-3f§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Joint,false),true,1));
|
||||
this.§_-dB§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Map,false),true,1));
|
||||
this.§_-77§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Material,false),true,1));
|
||||
this.§_-PJ§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Mesh,false),true,1));
|
||||
this.§_-1x§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Object,false),true,1));
|
||||
this.§_-aP§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2OmniLight,false),true,1));
|
||||
this.§_-e9§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Skin,false),true,1));
|
||||
this.§_-3y§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2SpotLight,false),true,1));
|
||||
this.§_-E2§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Sprite,false),true,1));
|
||||
this.§_-U9§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2VertexBuffer,false),true,1));
|
||||
this.name_8X = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2AmbientLight,false),true,1));
|
||||
this.name_Fa = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2AnimationClip,false),true,1));
|
||||
this.name_Aj = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Track,false),true,1));
|
||||
this.name_EA = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Box,false),true,1));
|
||||
this.name_lJ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2CubeMap,false),true,1));
|
||||
this.name_9f = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Decal,false),true,1));
|
||||
this.name_GC = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2DirectionalLight,false),true,1));
|
||||
this.name_Sd = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Image,false),true,1));
|
||||
this.name_76 = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2IndexBuffer,false),true,1));
|
||||
this.name_3f = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Joint,false),true,1));
|
||||
this.name_dB = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Map,false),true,1));
|
||||
this.name_77 = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Material,false),true,1));
|
||||
this.name_PJ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Mesh,false),true,1));
|
||||
this.name_1x = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Object,false),true,1));
|
||||
this.name_aP = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2OmniLight,false),true,1));
|
||||
this.name_e9 = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Skin,false),true,1));
|
||||
this.name_3y = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2SpotLight,false),true,1));
|
||||
this.name_E2 = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Sprite,false),true,1));
|
||||
this.name_U9 = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2VertexBuffer,false),true,1));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_ambientLights:Vector.<A3D2AmbientLight> = this.§_-8X§.decode(protocolBuffer) as Vector.<A3D2AmbientLight>;
|
||||
var value_ambientLights:Vector.<A3D2AmbientLight> = this.name_8X.decode(protocolBuffer) as Vector.<A3D2AmbientLight>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","ambientLights",value_ambientLights);
|
||||
var value_animationClips:Vector.<A3D2AnimationClip> = this.§_-Fa§.decode(protocolBuffer) as Vector.<A3D2AnimationClip>;
|
||||
var value_animationClips:Vector.<A3D2AnimationClip> = this.name_Fa.decode(protocolBuffer) as Vector.<A3D2AnimationClip>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","animationClips",value_animationClips);
|
||||
var value_animationTracks:Vector.<A3D2Track> = this.§_-Aj§.decode(protocolBuffer) as Vector.<A3D2Track>;
|
||||
var value_animationTracks:Vector.<A3D2Track> = this.name_Aj.decode(protocolBuffer) as Vector.<A3D2Track>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","animationTracks",value_animationTracks);
|
||||
var value_boxes:Vector.<A3D2Box> = this.§_-EA§.decode(protocolBuffer) as Vector.<A3D2Box>;
|
||||
var value_boxes:Vector.<A3D2Box> = this.name_EA.decode(protocolBuffer) as Vector.<A3D2Box>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","boxes",value_boxes);
|
||||
var value_cubeMaps:Vector.<A3D2CubeMap> = this.§_-lJ§.decode(protocolBuffer) as Vector.<A3D2CubeMap>;
|
||||
var value_cubeMaps:Vector.<A3D2CubeMap> = this.name_lJ.decode(protocolBuffer) as Vector.<A3D2CubeMap>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","cubeMaps",value_cubeMaps);
|
||||
var value_decals:Vector.<A3D2Decal> = this.§_-9f§.decode(protocolBuffer) as Vector.<A3D2Decal>;
|
||||
var value_decals:Vector.<A3D2Decal> = this.name_9f.decode(protocolBuffer) as Vector.<A3D2Decal>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","decals",value_decals);
|
||||
var value_directionalLights:Vector.<A3D2DirectionalLight> = this.§_-GC§.decode(protocolBuffer) as Vector.<A3D2DirectionalLight>;
|
||||
var value_directionalLights:Vector.<A3D2DirectionalLight> = this.name_GC.decode(protocolBuffer) as Vector.<A3D2DirectionalLight>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","directionalLights",value_directionalLights);
|
||||
var value_images:Vector.<A3D2Image> = this.§_-Sd§.decode(protocolBuffer) as Vector.<A3D2Image>;
|
||||
var value_images:Vector.<A3D2Image> = this.name_Sd.decode(protocolBuffer) as Vector.<A3D2Image>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","images",value_images);
|
||||
var value_indexBuffers:Vector.<A3D2IndexBuffer> = this.§_-76§.decode(protocolBuffer) as Vector.<A3D2IndexBuffer>;
|
||||
var value_indexBuffers:Vector.<A3D2IndexBuffer> = this.name_76.decode(protocolBuffer) as Vector.<A3D2IndexBuffer>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","indexBuffers",value_indexBuffers);
|
||||
var value_joints:Vector.<A3D2Joint> = this.§_-3f§.decode(protocolBuffer) as Vector.<A3D2Joint>;
|
||||
var value_joints:Vector.<A3D2Joint> = this.name_3f.decode(protocolBuffer) as Vector.<A3D2Joint>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","joints",value_joints);
|
||||
var value_maps:Vector.<A3D2Map> = this.§_-dB§.decode(protocolBuffer) as Vector.<A3D2Map>;
|
||||
var value_maps:Vector.<A3D2Map> = this.name_dB.decode(protocolBuffer) as Vector.<A3D2Map>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","maps",value_maps);
|
||||
var value_materials:Vector.<A3D2Material> = this.§_-77§.decode(protocolBuffer) as Vector.<A3D2Material>;
|
||||
var value_materials:Vector.<A3D2Material> = this.name_77.decode(protocolBuffer) as Vector.<A3D2Material>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","materials",value_materials);
|
||||
var value_meshes:Vector.<A3D2Mesh> = this.§_-PJ§.decode(protocolBuffer) as Vector.<A3D2Mesh>;
|
||||
var value_meshes:Vector.<A3D2Mesh> = this.name_PJ.decode(protocolBuffer) as Vector.<A3D2Mesh>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","meshes",value_meshes);
|
||||
var value_objects:Vector.<A3D2Object> = this.§_-1x§.decode(protocolBuffer) as Vector.<A3D2Object>;
|
||||
var value_objects:Vector.<A3D2Object> = this.name_1x.decode(protocolBuffer) as Vector.<A3D2Object>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","objects",value_objects);
|
||||
var value_omniLights:Vector.<A3D2OmniLight> = this.§_-aP§.decode(protocolBuffer) as Vector.<A3D2OmniLight>;
|
||||
var value_omniLights:Vector.<A3D2OmniLight> = this.name_aP.decode(protocolBuffer) as Vector.<A3D2OmniLight>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","omniLights",value_omniLights);
|
||||
var value_skins:Vector.<A3D2Skin> = this.§_-e9§.decode(protocolBuffer) as Vector.<A3D2Skin>;
|
||||
var value_skins:Vector.<A3D2Skin> = this.name_e9.decode(protocolBuffer) as Vector.<A3D2Skin>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","skins",value_skins);
|
||||
var value_spotLights:Vector.<A3D2SpotLight> = this.§_-3y§.decode(protocolBuffer) as Vector.<A3D2SpotLight>;
|
||||
var value_spotLights:Vector.<A3D2SpotLight> = this.name_3y.decode(protocolBuffer) as Vector.<A3D2SpotLight>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","spotLights",value_spotLights);
|
||||
var value_sprites:Vector.<A3D2Sprite> = this.§_-E2§.decode(protocolBuffer) as Vector.<A3D2Sprite>;
|
||||
var value_sprites:Vector.<A3D2Sprite> = this.name_E2.decode(protocolBuffer) as Vector.<A3D2Sprite>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","sprites",value_sprites);
|
||||
var value_vertexBuffers:Vector.<A3D2VertexBuffer> = this.§_-U9§.decode(protocolBuffer) as Vector.<A3D2VertexBuffer>;
|
||||
var value_vertexBuffers:Vector.<A3D2VertexBuffer> = this.name_U9.decode(protocolBuffer) as Vector.<A3D2VertexBuffer>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.A3D2","vertexBuffers",value_vertexBuffers);
|
||||
return new A3D2(value_ambientLights,value_animationClips,value_animationTracks,value_boxes,value_cubeMaps,value_decals,value_directionalLights,value_images,value_indexBuffers,value_joints,value_maps,value_materials,value_meshes,value_objects,value_omniLights,value_skins,value_spotLights,value_sprites,value_vertexBuffers);
|
||||
}
|
||||
@@ -149,25 +149,25 @@ package _codec.versions.version2.a3d
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2 = A3D2(object);
|
||||
this.§_-8X§.encode(protocolBuffer,struct.ambientLights);
|
||||
this.§_-Fa§.encode(protocolBuffer,struct.animationClips);
|
||||
this.§_-Aj§.encode(protocolBuffer,struct.animationTracks);
|
||||
this.§_-EA§.encode(protocolBuffer,struct.boxes);
|
||||
this.§_-lJ§.encode(protocolBuffer,struct.cubeMaps);
|
||||
this.§_-9f§.encode(protocolBuffer,struct.decals);
|
||||
this.§_-GC§.encode(protocolBuffer,struct.directionalLights);
|
||||
this.§_-Sd§.encode(protocolBuffer,struct.images);
|
||||
this.§_-76§.encode(protocolBuffer,struct.indexBuffers);
|
||||
this.§_-3f§.encode(protocolBuffer,struct.joints);
|
||||
this.§_-dB§.encode(protocolBuffer,struct.maps);
|
||||
this.§_-77§.encode(protocolBuffer,struct.materials);
|
||||
this.§_-PJ§.encode(protocolBuffer,struct.meshes);
|
||||
this.§_-1x§.encode(protocolBuffer,struct.objects);
|
||||
this.§_-aP§.encode(protocolBuffer,struct.omniLights);
|
||||
this.§_-e9§.encode(protocolBuffer,struct.skins);
|
||||
this.§_-3y§.encode(protocolBuffer,struct.spotLights);
|
||||
this.§_-E2§.encode(protocolBuffer,struct.sprites);
|
||||
this.§_-U9§.encode(protocolBuffer,struct.vertexBuffers);
|
||||
this.name_8X.encode(protocolBuffer,struct.ambientLights);
|
||||
this.name_Fa.encode(protocolBuffer,struct.animationClips);
|
||||
this.name_Aj.encode(protocolBuffer,struct.animationTracks);
|
||||
this.name_EA.encode(protocolBuffer,struct.boxes);
|
||||
this.name_lJ.encode(protocolBuffer,struct.cubeMaps);
|
||||
this.name_9f.encode(protocolBuffer,struct.decals);
|
||||
this.name_GC.encode(protocolBuffer,struct.directionalLights);
|
||||
this.name_Sd.encode(protocolBuffer,struct.images);
|
||||
this.name_76.encode(protocolBuffer,struct.indexBuffers);
|
||||
this.name_3f.encode(protocolBuffer,struct.joints);
|
||||
this.name_dB.encode(protocolBuffer,struct.maps);
|
||||
this.name_77.encode(protocolBuffer,struct.materials);
|
||||
this.name_PJ.encode(protocolBuffer,struct.meshes);
|
||||
this.name_1x.encode(protocolBuffer,struct.objects);
|
||||
this.name_aP.encode(protocolBuffer,struct.omniLights);
|
||||
this.name_e9.encode(protocolBuffer,struct.skins);
|
||||
this.name_3y.encode(protocolBuffer,struct.spotLights);
|
||||
this.name_E2.encode(protocolBuffer,struct.sprites);
|
||||
this.name_U9.encode(protocolBuffer,struct.vertexBuffers);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d
|
||||
var result:Vector.<Vector.<A3D2>> = new Vector.<Vector.<A3D2>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d
|
||||
var result:Vector.<Vector.<Vector.<A3D2>>> = new Vector.<Vector.<Vector.<A3D2>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2>(length3,true);
|
||||
|
||||
@@ -14,15 +14,15 @@ package _codec.versions.version2.a3d.animation
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-HX§:ICodec;
|
||||
private var name_HX:ICodec;
|
||||
|
||||
private var §_-XW§:ICodec;
|
||||
private var name_XW:ICodec;
|
||||
|
||||
private var §_-Td§:ICodec;
|
||||
private var name_Td:ICodec;
|
||||
|
||||
private var §_-Z-§:ICodec;
|
||||
private var name_Z:ICodec;
|
||||
|
||||
public function CodecA3D2AnimationClip()
|
||||
{
|
||||
@@ -31,25 +31,25 @@ package _codec.versions.version2.a3d.animation
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-HX§ = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
this.§_-XW§ = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.§_-Td§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(Long,false),true,1));
|
||||
this.§_-Z-§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(int,false),false,1));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_HX = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
this.name_XW = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.name_Td = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(Long,false),true,1));
|
||||
this.name_Z = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(int,false),false,1));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_id:int = int(this.§_-2o§.decode(protocolBuffer) as int);
|
||||
var value_id:int = int(this.name_2o.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2AnimationClip","id",value_id);
|
||||
var value_loop:Boolean = Boolean(this.§_-HX§.decode(protocolBuffer) as Boolean);
|
||||
var value_loop:Boolean = Boolean(this.name_HX.decode(protocolBuffer) as Boolean);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2AnimationClip","loop",value_loop);
|
||||
var value_name:String = this.§_-XW§.decode(protocolBuffer) as String;
|
||||
var value_name:String = this.name_XW.decode(protocolBuffer) as String;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2AnimationClip","name",value_name);
|
||||
var value_objectIDs:Vector.<Long> = this.§_-Td§.decode(protocolBuffer) as Vector.<Long>;
|
||||
var value_objectIDs:Vector.<Long> = this.name_Td.decode(protocolBuffer) as Vector.<Long>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2AnimationClip","objectIDs",value_objectIDs);
|
||||
var value_tracks:Vector.<int> = this.§_-Z-§.decode(protocolBuffer) as Vector.<int>;
|
||||
var value_tracks:Vector.<int> = this.name_Z.decode(protocolBuffer) as Vector.<int>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2AnimationClip","tracks",value_tracks);
|
||||
return new A3D2AnimationClip(value_id,value_loop,value_name,value_objectIDs,value_tracks);
|
||||
}
|
||||
@@ -61,11 +61,11 @@ package _codec.versions.version2.a3d.animation
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2AnimationClip = A3D2AnimationClip(object);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-HX§.encode(protocolBuffer,struct.loop);
|
||||
this.§_-XW§.encode(protocolBuffer,struct.name);
|
||||
this.§_-Td§.encode(protocolBuffer,struct.objectIDs);
|
||||
this.§_-Z-§.encode(protocolBuffer,struct.tracks);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_HX.encode(protocolBuffer,struct.loop);
|
||||
this.name_XW.encode(protocolBuffer,struct.name);
|
||||
this.name_Td.encode(protocolBuffer,struct.objectIDs);
|
||||
this.name_Z.encode(protocolBuffer,struct.tracks);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,9 +14,9 @@ package _codec.versions.version2.a3d.animation
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-dk§:ICodec;
|
||||
private var name_dk:ICodec;
|
||||
|
||||
private var §_-S2§:ICodec;
|
||||
private var name_S2:ICodec;
|
||||
|
||||
public function CodecA3D2Keyframe()
|
||||
{
|
||||
@@ -25,16 +25,16 @@ package _codec.versions.version2.a3d.animation
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-dk§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-S2§ = protocol.getCodec(new TypeCodecInfo(A3D2Transform,false));
|
||||
this.name_dk = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_S2 = protocol.getCodec(new TypeCodecInfo(A3D2Transform,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_time:Number = Number(this.§_-dk§.decode(protocolBuffer) as Number);
|
||||
var value_time:Number = Number(this.name_dk.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2Keyframe","time",value_time);
|
||||
var value_transform:A3D2Transform = this.§_-S2§.decode(protocolBuffer) as A3D2Transform;
|
||||
var value_transform:A3D2Transform = this.name_S2.decode(protocolBuffer) as A3D2Transform;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2Keyframe","transform",value_transform);
|
||||
return new A3D2Keyframe(value_time,value_transform);
|
||||
}
|
||||
@@ -46,8 +46,8 @@ package _codec.versions.version2.a3d.animation
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2Keyframe = A3D2Keyframe(object);
|
||||
this.§_-dk§.encode(protocolBuffer,struct.time);
|
||||
this.§_-S2§.encode(protocolBuffer,struct.transform);
|
||||
this.name_dk.encode(protocolBuffer,struct.time);
|
||||
this.name_S2.encode(protocolBuffer,struct.transform);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,11 +14,11 @@ package _codec.versions.version2.a3d.animation
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-Ja§:ICodec;
|
||||
private var name_Ja:ICodec;
|
||||
|
||||
private var §_-Fo§:ICodec;
|
||||
private var name_Fo:ICodec;
|
||||
|
||||
public function CodecA3D2Track()
|
||||
{
|
||||
@@ -27,19 +27,19 @@ package _codec.versions.version2.a3d.animation
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-Ja§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Keyframe,false),false,1));
|
||||
this.§_-Fo§ = protocol.getCodec(new TypeCodecInfo(String,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_Ja = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Keyframe,false),false,1));
|
||||
this.name_Fo = protocol.getCodec(new TypeCodecInfo(String,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_id:int = int(this.§_-2o§.decode(protocolBuffer) as int);
|
||||
var value_id:int = int(this.name_2o.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2Track","id",value_id);
|
||||
var value_keyframes:Vector.<A3D2Keyframe> = this.§_-Ja§.decode(protocolBuffer) as Vector.<A3D2Keyframe>;
|
||||
var value_keyframes:Vector.<A3D2Keyframe> = this.name_Ja.decode(protocolBuffer) as Vector.<A3D2Keyframe>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2Track","keyframes",value_keyframes);
|
||||
var value_objectName:String = this.§_-Fo§.decode(protocolBuffer) as String;
|
||||
var value_objectName:String = this.name_Fo.decode(protocolBuffer) as String;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.animation.A3D2Track","objectName",value_objectName);
|
||||
return new A3D2Track(value_id,value_keyframes,value_objectName);
|
||||
}
|
||||
@@ -51,9 +51,9 @@ package _codec.versions.version2.a3d.animation
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2Track = A3D2Track(object);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-Ja§.encode(protocolBuffer,struct.keyframes);
|
||||
this.§_-Fo§.encode(protocolBuffer,struct.objectName);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_Ja.encode(protocolBuffer,struct.keyframes);
|
||||
this.name_Fo.encode(protocolBuffer,struct.objectName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.animation
|
||||
var result:Vector.<Vector.<A3D2AnimationClip>> = new Vector.<Vector.<A3D2AnimationClip>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2AnimationClip>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.animation
|
||||
var result:Vector.<Vector.<Vector.<A3D2AnimationClip>>> = new Vector.<Vector.<Vector.<A3D2AnimationClip>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2AnimationClip>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2AnimationClip>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.animation
|
||||
var result:Vector.<Vector.<A3D2Keyframe>> = new Vector.<Vector.<A3D2Keyframe>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2Keyframe>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.animation
|
||||
var result:Vector.<Vector.<Vector.<A3D2Keyframe>>> = new Vector.<Vector.<Vector.<A3D2Keyframe>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2Keyframe>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2Keyframe>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.animation
|
||||
var result:Vector.<Vector.<A3D2Track>> = new Vector.<Vector.<A3D2Track>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2Track>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.animation
|
||||
var result:Vector.<Vector.<Vector.<A3D2Track>>> = new Vector.<Vector.<Vector.<A3D2Track>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2Track>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2Track>(length3,true);
|
||||
|
||||
@@ -13,11 +13,11 @@ package _codec.versions.version2.a3d.geometry
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-GN§:ICodec;
|
||||
private var name_GN:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-mz§:ICodec;
|
||||
private var name_mz:ICodec;
|
||||
|
||||
public function CodecA3D2IndexBuffer()
|
||||
{
|
||||
@@ -26,19 +26,19 @@ package _codec.versions.version2.a3d.geometry
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-GN§ = protocol.getCodec(new TypeCodecInfo(ByteArray,false));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-mz§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_GN = protocol.getCodec(new TypeCodecInfo(ByteArray,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_mz = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_byteBuffer:ByteArray = this.§_-GN§.decode(protocolBuffer) as ByteArray;
|
||||
var value_byteBuffer:ByteArray = this.name_GN.decode(protocolBuffer) as ByteArray;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.geometry.A3D2IndexBuffer","byteBuffer",value_byteBuffer);
|
||||
var value_id:int = int(this.§_-2o§.decode(protocolBuffer) as int);
|
||||
var value_id:int = int(this.name_2o.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.geometry.A3D2IndexBuffer","id",value_id);
|
||||
var value_indexCount:int = int(this.§_-mz§.decode(protocolBuffer) as int);
|
||||
var value_indexCount:int = int(this.name_mz.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.geometry.A3D2IndexBuffer","indexCount",value_indexCount);
|
||||
return new A3D2IndexBuffer(value_byteBuffer,value_id,value_indexCount);
|
||||
}
|
||||
@@ -50,9 +50,9 @@ package _codec.versions.version2.a3d.geometry
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2IndexBuffer = A3D2IndexBuffer(object);
|
||||
this.§_-GN§.encode(protocolBuffer,struct.byteBuffer);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-mz§.encode(protocolBuffer,struct.indexCount);
|
||||
this.name_GN.encode(protocolBuffer,struct.byteBuffer);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_mz.encode(protocolBuffer,struct.indexCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,13 +17,13 @@ package _codec.versions.version2.a3d.geometry
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Lj§:ICodec;
|
||||
private var name_Lj:ICodec;
|
||||
|
||||
private var §_-GN§:ICodec;
|
||||
private var name_GN:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-hc§:ICodec;
|
||||
private var name_hc:ICodec;
|
||||
|
||||
public function CodecA3D2VertexBuffer()
|
||||
{
|
||||
@@ -32,22 +32,22 @@ package _codec.versions.version2.a3d.geometry
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Lj§ = protocol.getCodec(new CollectionCodecInfo(new EnumCodecInfo(A3D2VertexAttributes,false),false,1));
|
||||
this.§_-GN§ = protocol.getCodec(new TypeCodecInfo(ByteArray,false));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-hc§ = protocol.getCodec(new TypeCodecInfo(UShort,false));
|
||||
this.name_Lj = protocol.getCodec(new CollectionCodecInfo(new EnumCodecInfo(A3D2VertexAttributes,false),false,1));
|
||||
this.name_GN = protocol.getCodec(new TypeCodecInfo(ByteArray,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_hc = protocol.getCodec(new TypeCodecInfo(UShort,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_attributes:Vector.<A3D2VertexAttributes> = this.§_-Lj§.decode(protocolBuffer) as Vector.<A3D2VertexAttributes>;
|
||||
var value_attributes:Vector.<A3D2VertexAttributes> = this.name_Lj.decode(protocolBuffer) as Vector.<A3D2VertexAttributes>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.geometry.A3D2VertexBuffer","attributes",value_attributes);
|
||||
var value_byteBuffer:ByteArray = this.§_-GN§.decode(protocolBuffer) as ByteArray;
|
||||
var value_byteBuffer:ByteArray = this.name_GN.decode(protocolBuffer) as ByteArray;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.geometry.A3D2VertexBuffer","byteBuffer",value_byteBuffer);
|
||||
var value_id:int = int(this.§_-2o§.decode(protocolBuffer) as int);
|
||||
var value_id:int = int(this.name_2o.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.geometry.A3D2VertexBuffer","id",value_id);
|
||||
var value_vertexCount:uint = uint(this.§_-hc§.decode(protocolBuffer) as uint);
|
||||
var value_vertexCount:uint = uint(this.name_hc.decode(protocolBuffer) as uint);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.geometry.A3D2VertexBuffer","vertexCount",value_vertexCount);
|
||||
return new A3D2VertexBuffer(value_attributes,value_byteBuffer,value_id,value_vertexCount);
|
||||
}
|
||||
@@ -59,10 +59,10 @@ package _codec.versions.version2.a3d.geometry
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2VertexBuffer = A3D2VertexBuffer(object);
|
||||
this.§_-Lj§.encode(protocolBuffer,struct.attributes);
|
||||
this.§_-GN§.encode(protocolBuffer,struct.byteBuffer);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-hc§.encode(protocolBuffer,struct.vertexCount);
|
||||
this.name_Lj.encode(protocolBuffer,struct.attributes);
|
||||
this.name_GN.encode(protocolBuffer,struct.byteBuffer);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_hc.encode(protocolBuffer,struct.vertexCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.geometry
|
||||
var result:Vector.<Vector.<A3D2IndexBuffer>> = new Vector.<Vector.<A3D2IndexBuffer>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2IndexBuffer>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.geometry
|
||||
var result:Vector.<Vector.<Vector.<A3D2IndexBuffer>>> = new Vector.<Vector.<Vector.<A3D2IndexBuffer>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2IndexBuffer>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2IndexBuffer>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.geometry
|
||||
var result:Vector.<Vector.<A3D2VertexAttributes>> = new Vector.<Vector.<A3D2VertexAttributes>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2VertexAttributes>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.geometry
|
||||
var result:Vector.<Vector.<Vector.<A3D2VertexAttributes>>> = new Vector.<Vector.<Vector.<A3D2VertexAttributes>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2VertexAttributes>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2VertexAttributes>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.geometry
|
||||
var result:Vector.<Vector.<A3D2VertexBuffer>> = new Vector.<Vector.<A3D2VertexBuffer>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2VertexBuffer>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.geometry
|
||||
var result:Vector.<Vector.<Vector.<A3D2VertexBuffer>>> = new Vector.<Vector.<Vector.<A3D2VertexBuffer>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2VertexBuffer>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2VertexBuffer>(length3,true);
|
||||
|
||||
@@ -12,19 +12,19 @@ package _codec.versions.version2.a3d.materials
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Yc§:ICodec;
|
||||
private var name_Yc:ICodec;
|
||||
|
||||
private var §_-SV§:ICodec;
|
||||
private var name_SV:ICodec;
|
||||
|
||||
private var §_-Ni§:ICodec;
|
||||
private var name_Ni:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-nb§:ICodec;
|
||||
private var name_nb:ICodec;
|
||||
|
||||
private var §_-23§:ICodec;
|
||||
private var name_23:ICodec;
|
||||
|
||||
private var §_-TW§:ICodec;
|
||||
private var name_TW:ICodec;
|
||||
|
||||
public function CodecA3D2CubeMap()
|
||||
{
|
||||
@@ -33,31 +33,31 @@ package _codec.versions.version2.a3d.materials
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Yc§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-SV§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-Ni§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-nb§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-23§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-TW§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_Yc = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_SV = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_Ni = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_nb = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_23 = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_TW = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_backId:int = int(this.§_-Yc§.decode(protocolBuffer) as int);
|
||||
var value_backId:int = int(this.name_Yc.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2CubeMap","backId",value_backId);
|
||||
var value_bottomId:int = int(this.§_-SV§.decode(protocolBuffer) as int);
|
||||
var value_bottomId:int = int(this.name_SV.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2CubeMap","bottomId",value_bottomId);
|
||||
var value_frontId:int = int(this.§_-Ni§.decode(protocolBuffer) as int);
|
||||
var value_frontId:int = int(this.name_Ni.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2CubeMap","frontId",value_frontId);
|
||||
var value_id:int = int(this.§_-2o§.decode(protocolBuffer) as int);
|
||||
var value_id:int = int(this.name_2o.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2CubeMap","id",value_id);
|
||||
var value_leftId:int = int(this.§_-nb§.decode(protocolBuffer) as int);
|
||||
var value_leftId:int = int(this.name_nb.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2CubeMap","leftId",value_leftId);
|
||||
var value_rightId:int = int(this.§_-23§.decode(protocolBuffer) as int);
|
||||
var value_rightId:int = int(this.name_23.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2CubeMap","rightId",value_rightId);
|
||||
var value_topId:int = int(this.§_-TW§.decode(protocolBuffer) as int);
|
||||
var value_topId:int = int(this.name_TW.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2CubeMap","topId",value_topId);
|
||||
return new A3D2CubeMap(value_backId,value_bottomId,value_frontId,value_id,value_leftId,value_rightId,value_topId);
|
||||
}
|
||||
@@ -69,13 +69,13 @@ package _codec.versions.version2.a3d.materials
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2CubeMap = A3D2CubeMap(object);
|
||||
this.§_-Yc§.encode(protocolBuffer,struct.backId);
|
||||
this.§_-SV§.encode(protocolBuffer,struct.bottomId);
|
||||
this.§_-Ni§.encode(protocolBuffer,struct.frontId);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-nb§.encode(protocolBuffer,struct.leftId);
|
||||
this.§_-23§.encode(protocolBuffer,struct.rightId);
|
||||
this.§_-TW§.encode(protocolBuffer,struct.topId);
|
||||
this.name_Yc.encode(protocolBuffer,struct.backId);
|
||||
this.name_SV.encode(protocolBuffer,struct.bottomId);
|
||||
this.name_Ni.encode(protocolBuffer,struct.frontId);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_nb.encode(protocolBuffer,struct.leftId);
|
||||
this.name_23.encode(protocolBuffer,struct.rightId);
|
||||
this.name_TW.encode(protocolBuffer,struct.topId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,9 +12,9 @@ package _codec.versions.version2.a3d.materials
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-aV§:ICodec;
|
||||
private var name_aV:ICodec;
|
||||
|
||||
public function CodecA3D2Image()
|
||||
{
|
||||
@@ -23,16 +23,16 @@ package _codec.versions.version2.a3d.materials
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-aV§ = protocol.getCodec(new TypeCodecInfo(String,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_aV = protocol.getCodec(new TypeCodecInfo(String,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_id:int = int(this.§_-2o§.decode(protocolBuffer) as int);
|
||||
var value_id:int = int(this.name_2o.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Image","id",value_id);
|
||||
var value_url:String = this.§_-aV§.decode(protocolBuffer) as String;
|
||||
var value_url:String = this.name_aV.decode(protocolBuffer) as String;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Image","url",value_url);
|
||||
return new A3D2Image(value_id,value_url);
|
||||
}
|
||||
@@ -44,8 +44,8 @@ package _codec.versions.version2.a3d.materials
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2Image = A3D2Image(object);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-aV§.encode(protocolBuffer,struct.url);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_aV.encode(protocolBuffer,struct.url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,11 +13,11 @@ package _codec.versions.version2.a3d.materials
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-mC§:ICodec;
|
||||
private var name_mC:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-2N§:ICodec;
|
||||
private var name_2N:ICodec;
|
||||
|
||||
public function CodecA3D2Map()
|
||||
{
|
||||
@@ -26,19 +26,19 @@ package _codec.versions.version2.a3d.materials
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-mC§ = protocol.getCodec(new TypeCodecInfo(UShort,false));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-2N§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_mC = protocol.getCodec(new TypeCodecInfo(UShort,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_2N = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_channel:uint = uint(this.§_-mC§.decode(protocolBuffer) as uint);
|
||||
var value_channel:uint = uint(this.name_mC.decode(protocolBuffer) as uint);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Map","channel",value_channel);
|
||||
var value_id:int = int(this.§_-2o§.decode(protocolBuffer) as int);
|
||||
var value_id:int = int(this.name_2o.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Map","id",value_id);
|
||||
var value_imageId:int = int(this.§_-2N§.decode(protocolBuffer) as int);
|
||||
var value_imageId:int = int(this.name_2N.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Map","imageId",value_imageId);
|
||||
return new A3D2Map(value_channel,value_id,value_imageId);
|
||||
}
|
||||
@@ -50,9 +50,9 @@ package _codec.versions.version2.a3d.materials
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2Map = A3D2Map(object);
|
||||
this.§_-mC§.encode(protocolBuffer,struct.channel);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-2N§.encode(protocolBuffer,struct.imageId);
|
||||
this.name_mC.encode(protocolBuffer,struct.channel);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_2N.encode(protocolBuffer,struct.imageId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,21 +12,21 @@ package _codec.versions.version2.a3d.materials
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-9A§:ICodec;
|
||||
private var name_9A:ICodec;
|
||||
|
||||
private var §_-hw§:ICodec;
|
||||
private var name_hw:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-Hu§:ICodec;
|
||||
private var name_Hu:ICodec;
|
||||
|
||||
private var §_-GK§:ICodec;
|
||||
private var name_GK:ICodec;
|
||||
|
||||
private var §_-LZ§:ICodec;
|
||||
private var name_LZ:ICodec;
|
||||
|
||||
private var §_-bz§:ICodec;
|
||||
private var name_bz:ICodec;
|
||||
|
||||
private var §_-FU§:ICodec;
|
||||
private var name_FU:ICodec;
|
||||
|
||||
public function CodecA3D2Material()
|
||||
{
|
||||
@@ -35,34 +35,34 @@ package _codec.versions.version2.a3d.materials
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-9A§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-hw§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-Hu§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-GK§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-LZ§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-bz§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-FU§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_9A = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_hw = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_Hu = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_GK = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_LZ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_bz = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_FU = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_diffuseMapId:int = int(this.§_-9A§.decode(protocolBuffer) as int);
|
||||
var value_diffuseMapId:int = int(this.name_9A.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Material","diffuseMapId",value_diffuseMapId);
|
||||
var value_glossinessMapId:int = int(this.§_-hw§.decode(protocolBuffer) as int);
|
||||
var value_glossinessMapId:int = int(this.name_hw.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Material","glossinessMapId",value_glossinessMapId);
|
||||
var value_id:int = int(this.§_-2o§.decode(protocolBuffer) as int);
|
||||
var value_id:int = int(this.name_2o.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Material","id",value_id);
|
||||
var value_lightMapId:int = int(this.§_-Hu§.decode(protocolBuffer) as int);
|
||||
var value_lightMapId:int = int(this.name_Hu.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Material","lightMapId",value_lightMapId);
|
||||
var value_normalMapId:int = int(this.§_-GK§.decode(protocolBuffer) as int);
|
||||
var value_normalMapId:int = int(this.name_GK.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Material","normalMapId",value_normalMapId);
|
||||
var value_opacityMapId:int = int(this.§_-LZ§.decode(protocolBuffer) as int);
|
||||
var value_opacityMapId:int = int(this.name_LZ.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Material","opacityMapId",value_opacityMapId);
|
||||
var value_reflectionCubeMapId:int = int(this.§_-bz§.decode(protocolBuffer) as int);
|
||||
var value_reflectionCubeMapId:int = int(this.name_bz.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Material","reflectionCubeMapId",value_reflectionCubeMapId);
|
||||
var value_specularMapId:int = int(this.§_-FU§.decode(protocolBuffer) as int);
|
||||
var value_specularMapId:int = int(this.name_FU.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.materials.A3D2Material","specularMapId",value_specularMapId);
|
||||
return new A3D2Material(value_diffuseMapId,value_glossinessMapId,value_id,value_lightMapId,value_normalMapId,value_opacityMapId,value_reflectionCubeMapId,value_specularMapId);
|
||||
}
|
||||
@@ -74,14 +74,14 @@ package _codec.versions.version2.a3d.materials
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2Material = A3D2Material(object);
|
||||
this.§_-9A§.encode(protocolBuffer,struct.diffuseMapId);
|
||||
this.§_-hw§.encode(protocolBuffer,struct.glossinessMapId);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-Hu§.encode(protocolBuffer,struct.lightMapId);
|
||||
this.§_-GK§.encode(protocolBuffer,struct.normalMapId);
|
||||
this.§_-LZ§.encode(protocolBuffer,struct.opacityMapId);
|
||||
this.§_-bz§.encode(protocolBuffer,struct.reflectionCubeMapId);
|
||||
this.§_-FU§.encode(protocolBuffer,struct.specularMapId);
|
||||
this.name_9A.encode(protocolBuffer,struct.diffuseMapId);
|
||||
this.name_hw.encode(protocolBuffer,struct.glossinessMapId);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_Hu.encode(protocolBuffer,struct.lightMapId);
|
||||
this.name_GK.encode(protocolBuffer,struct.normalMapId);
|
||||
this.name_LZ.encode(protocolBuffer,struct.opacityMapId);
|
||||
this.name_bz.encode(protocolBuffer,struct.reflectionCubeMapId);
|
||||
this.name_FU.encode(protocolBuffer,struct.specularMapId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.materials
|
||||
var result:Vector.<Vector.<A3D2CubeMap>> = new Vector.<Vector.<A3D2CubeMap>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2CubeMap>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.materials
|
||||
var result:Vector.<Vector.<Vector.<A3D2CubeMap>>> = new Vector.<Vector.<Vector.<A3D2CubeMap>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2CubeMap>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2CubeMap>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.materials
|
||||
var result:Vector.<Vector.<A3D2Image>> = new Vector.<Vector.<A3D2Image>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2Image>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.materials
|
||||
var result:Vector.<Vector.<Vector.<A3D2Image>>> = new Vector.<Vector.<Vector.<A3D2Image>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2Image>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2Image>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.materials
|
||||
var result:Vector.<Vector.<A3D2Map>> = new Vector.<Vector.<A3D2Map>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2Map>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.materials
|
||||
var result:Vector.<Vector.<Vector.<A3D2Map>>> = new Vector.<Vector.<Vector.<A3D2Map>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2Map>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2Map>(length3,true);
|
||||
|
||||
@@ -38,7 +38,7 @@ package _codec.versions.version2.a3d.materials
|
||||
var result:Vector.<Vector.<A3D2Material>> = new Vector.<Vector.<A3D2Material>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<A3D2Material>(length2,true);
|
||||
|
||||
@@ -41,14 +41,14 @@ package _codec.versions.version2.a3d.materials
|
||||
var result:Vector.<Vector.<Vector.<A3D2Material>>> = new Vector.<Vector.<Vector.<A3D2Material>>>(length1,true);
|
||||
for(var i1:int = 0; i1 < length1; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length2 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items2 = new Vector.<Vector.<A3D2Material>>(length2,true);
|
||||
result[i1] = items2;
|
||||
for(i2 = 0; i2 < length2; )
|
||||
{
|
||||
if(!protocolBuffer.optionalMap.OptionalMap())
|
||||
if(!protocolBuffer.optionalMap.get())
|
||||
{
|
||||
length3 = LengthCodecHelper.decodeLength(protocolBuffer);
|
||||
items3 = new Vector.<A3D2Material>(length3,true);
|
||||
|
||||
@@ -15,21 +15,21 @@ package _codec.versions.version2.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Dh§:ICodec;
|
||||
private var name_Dh:ICodec;
|
||||
|
||||
private var §_-Po§:ICodec;
|
||||
private var name_Po:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-JX§:ICodec;
|
||||
private var name_JX:ICodec;
|
||||
|
||||
private var §_-XW§:ICodec;
|
||||
private var name_XW:ICodec;
|
||||
|
||||
private var §_-jk§:ICodec;
|
||||
private var name_jk:ICodec;
|
||||
|
||||
private var §_-S2§:ICodec;
|
||||
private var name_S2:ICodec;
|
||||
|
||||
private var §_-h9§:ICodec;
|
||||
private var name_h9:ICodec;
|
||||
|
||||
public function CodecA3D2AmbientLight()
|
||||
{
|
||||
@@ -38,34 +38,34 @@ package _codec.versions.version2.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Dh§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-Po§ = protocol.getCodec(new TypeCodecInfo(uint,false));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
this.§_-JX§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-XW§ = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.§_-jk§ = protocol.getCodec(new TypeCodecInfo(Long,true));
|
||||
this.§_-S2§ = protocol.getCodec(new TypeCodecInfo(A3D2Transform,true));
|
||||
this.§_-h9§ = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
this.name_Dh = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_Po = protocol.getCodec(new TypeCodecInfo(uint,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
this.name_JX = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_XW = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.name_jk = protocol.getCodec(new TypeCodecInfo(Long,true));
|
||||
this.name_S2 = protocol.getCodec(new TypeCodecInfo(A3D2Transform,true));
|
||||
this.name_h9 = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_boundBoxId:int = int(this.§_-Dh§.decode(protocolBuffer) as int);
|
||||
var value_boundBoxId:int = int(this.name_Dh.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2AmbientLight","boundBoxId",value_boundBoxId);
|
||||
var value_color:uint = uint(this.§_-Po§.decode(protocolBuffer) as uint);
|
||||
var value_color:uint = uint(this.name_Po.decode(protocolBuffer) as uint);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2AmbientLight","color",value_color);
|
||||
var value_id:Long = this.§_-2o§.decode(protocolBuffer) as Long;
|
||||
var value_id:Long = this.name_2o.decode(protocolBuffer) as Long;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2AmbientLight","id",value_id);
|
||||
var value_intensity:Number = Number(this.§_-JX§.decode(protocolBuffer) as Number);
|
||||
var value_intensity:Number = Number(this.name_JX.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2AmbientLight","intensity",value_intensity);
|
||||
var value_name:String = this.§_-XW§.decode(protocolBuffer) as String;
|
||||
var value_name:String = this.name_XW.decode(protocolBuffer) as String;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2AmbientLight","name",value_name);
|
||||
var value_parentId:Long = this.§_-jk§.decode(protocolBuffer) as Long;
|
||||
var value_parentId:Long = this.name_jk.decode(protocolBuffer) as Long;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2AmbientLight","parentId",value_parentId);
|
||||
var value_transform:A3D2Transform = this.§_-S2§.decode(protocolBuffer) as A3D2Transform;
|
||||
var value_transform:A3D2Transform = this.name_S2.decode(protocolBuffer) as A3D2Transform;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2AmbientLight","transform",value_transform);
|
||||
var value_visible:Boolean = Boolean(this.§_-h9§.decode(protocolBuffer) as Boolean);
|
||||
var value_visible:Boolean = Boolean(this.name_h9.decode(protocolBuffer) as Boolean);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2AmbientLight","visible",value_visible);
|
||||
return new A3D2AmbientLight(value_boundBoxId,value_color,value_id,value_intensity,value_name,value_parentId,value_transform,value_visible);
|
||||
}
|
||||
@@ -77,14 +77,14 @@ package _codec.versions.version2.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2AmbientLight = A3D2AmbientLight(object);
|
||||
this.§_-Dh§.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.§_-Po§.encode(protocolBuffer,struct.color);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-JX§.encode(protocolBuffer,struct.intensity);
|
||||
this.§_-XW§.encode(protocolBuffer,struct.name);
|
||||
this.§_-jk§.encode(protocolBuffer,struct.parentId);
|
||||
this.§_-S2§.encode(protocolBuffer,struct.transform);
|
||||
this.§_-h9§.encode(protocolBuffer,struct.visible);
|
||||
this.name_Dh.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.name_Po.encode(protocolBuffer,struct.color);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_JX.encode(protocolBuffer,struct.intensity);
|
||||
this.name_XW.encode(protocolBuffer,struct.name);
|
||||
this.name_jk.encode(protocolBuffer,struct.parentId);
|
||||
this.name_S2.encode(protocolBuffer,struct.transform);
|
||||
this.name_h9.encode(protocolBuffer,struct.visible);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,9 +14,9 @@ package _codec.versions.version2.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-pM§:ICodec;
|
||||
private var name_pM:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
public function CodecA3D2Box()
|
||||
{
|
||||
@@ -25,16 +25,16 @@ package _codec.versions.version2.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-pM§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(Float,false),false,1));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_pM = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(Float,false),false,1));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_box:Vector.<Number> = this.§_-pM§.decode(protocolBuffer) as Vector.<Number>;
|
||||
var value_box:Vector.<Number> = this.name_pM.decode(protocolBuffer) as Vector.<Number>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Box","box",value_box);
|
||||
var value_id:int = int(this.§_-2o§.decode(protocolBuffer) as int);
|
||||
var value_id:int = int(this.name_2o.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Box","id",value_id);
|
||||
return new A3D2Box(value_box,value_id);
|
||||
}
|
||||
@@ -46,8 +46,8 @@ package _codec.versions.version2.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2Box = A3D2Box(object);
|
||||
this.§_-pM§.encode(protocolBuffer,struct.box);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.name_pM.encode(protocolBuffer,struct.box);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,25 +17,25 @@ package _codec.versions.version2.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Dh§:ICodec;
|
||||
private var name_Dh:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-PO§:ICodec;
|
||||
private var name_PO:ICodec;
|
||||
|
||||
private var §_-XW§:ICodec;
|
||||
private var name_XW:ICodec;
|
||||
|
||||
private var §_-Zb§:ICodec;
|
||||
private var name_Zb:ICodec;
|
||||
|
||||
private var §_-jk§:ICodec;
|
||||
private var name_jk:ICodec;
|
||||
|
||||
private var §_-Qr§:ICodec;
|
||||
private var name_Qr:ICodec;
|
||||
|
||||
private var §_-S2§:ICodec;
|
||||
private var name_S2:ICodec;
|
||||
|
||||
private var §_-U9§:ICodec;
|
||||
private var name_U9:ICodec;
|
||||
|
||||
private var §_-h9§:ICodec;
|
||||
private var name_h9:ICodec;
|
||||
|
||||
public function CodecA3D2Decal()
|
||||
{
|
||||
@@ -44,40 +44,40 @@ package _codec.versions.version2.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Dh§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
this.§_-PO§ = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.§_-XW§ = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.§_-Zb§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-jk§ = protocol.getCodec(new TypeCodecInfo(Long,true));
|
||||
this.§_-Qr§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Surface,false),false,1));
|
||||
this.§_-S2§ = protocol.getCodec(new TypeCodecInfo(A3D2Transform,true));
|
||||
this.§_-U9§ = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(int,false),false,1));
|
||||
this.§_-h9§ = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
this.name_Dh = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
this.name_PO = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.name_XW = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.name_Zb = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_jk = protocol.getCodec(new TypeCodecInfo(Long,true));
|
||||
this.name_Qr = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Surface,false),false,1));
|
||||
this.name_S2 = protocol.getCodec(new TypeCodecInfo(A3D2Transform,true));
|
||||
this.name_U9 = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(int,false),false,1));
|
||||
this.name_h9 = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_boundBoxId:int = int(this.§_-Dh§.decode(protocolBuffer) as int);
|
||||
var value_boundBoxId:int = int(this.name_Dh.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","boundBoxId",value_boundBoxId);
|
||||
var value_id:Long = this.§_-2o§.decode(protocolBuffer) as Long;
|
||||
var value_id:Long = this.name_2o.decode(protocolBuffer) as Long;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","id",value_id);
|
||||
var value_indexBufferId:int = int(this.§_-PO§.decode(protocolBuffer) as int);
|
||||
var value_indexBufferId:int = int(this.name_PO.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","indexBufferId",value_indexBufferId);
|
||||
var value_name:String = this.§_-XW§.decode(protocolBuffer) as String;
|
||||
var value_name:String = this.name_XW.decode(protocolBuffer) as String;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","name",value_name);
|
||||
var value_offset:Number = Number(this.§_-Zb§.decode(protocolBuffer) as Number);
|
||||
var value_offset:Number = Number(this.name_Zb.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","offset",value_offset);
|
||||
var value_parentId:Long = this.§_-jk§.decode(protocolBuffer) as Long;
|
||||
var value_parentId:Long = this.name_jk.decode(protocolBuffer) as Long;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","parentId",value_parentId);
|
||||
var value_surfaces:Vector.<A3D2Surface> = this.§_-Qr§.decode(protocolBuffer) as Vector.<A3D2Surface>;
|
||||
var value_surfaces:Vector.<A3D2Surface> = this.name_Qr.decode(protocolBuffer) as Vector.<A3D2Surface>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","surfaces",value_surfaces);
|
||||
var value_transform:A3D2Transform = this.§_-S2§.decode(protocolBuffer) as A3D2Transform;
|
||||
var value_transform:A3D2Transform = this.name_S2.decode(protocolBuffer) as A3D2Transform;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","transform",value_transform);
|
||||
var value_vertexBuffers:Vector.<int> = this.§_-U9§.decode(protocolBuffer) as Vector.<int>;
|
||||
var value_vertexBuffers:Vector.<int> = this.name_U9.decode(protocolBuffer) as Vector.<int>;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","vertexBuffers",value_vertexBuffers);
|
||||
var value_visible:Boolean = Boolean(this.§_-h9§.decode(protocolBuffer) as Boolean);
|
||||
var value_visible:Boolean = Boolean(this.name_h9.decode(protocolBuffer) as Boolean);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Decal","visible",value_visible);
|
||||
return new A3D2Decal(value_boundBoxId,value_id,value_indexBufferId,value_name,value_offset,value_parentId,value_surfaces,value_transform,value_vertexBuffers,value_visible);
|
||||
}
|
||||
@@ -89,16 +89,16 @@ package _codec.versions.version2.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2Decal = A3D2Decal(object);
|
||||
this.§_-Dh§.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-PO§.encode(protocolBuffer,struct.indexBufferId);
|
||||
this.§_-XW§.encode(protocolBuffer,struct.name);
|
||||
this.§_-Zb§.encode(protocolBuffer,struct.offset);
|
||||
this.§_-jk§.encode(protocolBuffer,struct.parentId);
|
||||
this.§_-Qr§.encode(protocolBuffer,struct.surfaces);
|
||||
this.§_-S2§.encode(protocolBuffer,struct.transform);
|
||||
this.§_-U9§.encode(protocolBuffer,struct.vertexBuffers);
|
||||
this.§_-h9§.encode(protocolBuffer,struct.visible);
|
||||
this.name_Dh.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_PO.encode(protocolBuffer,struct.indexBufferId);
|
||||
this.name_XW.encode(protocolBuffer,struct.name);
|
||||
this.name_Zb.encode(protocolBuffer,struct.offset);
|
||||
this.name_jk.encode(protocolBuffer,struct.parentId);
|
||||
this.name_Qr.encode(protocolBuffer,struct.surfaces);
|
||||
this.name_S2.encode(protocolBuffer,struct.transform);
|
||||
this.name_U9.encode(protocolBuffer,struct.vertexBuffers);
|
||||
this.name_h9.encode(protocolBuffer,struct.visible);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,21 +15,21 @@ package _codec.versions.version2.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Dh§:ICodec;
|
||||
private var name_Dh:ICodec;
|
||||
|
||||
private var §_-Po§:ICodec;
|
||||
private var name_Po:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-JX§:ICodec;
|
||||
private var name_JX:ICodec;
|
||||
|
||||
private var §_-XW§:ICodec;
|
||||
private var name_XW:ICodec;
|
||||
|
||||
private var §_-jk§:ICodec;
|
||||
private var name_jk:ICodec;
|
||||
|
||||
private var §_-S2§:ICodec;
|
||||
private var name_S2:ICodec;
|
||||
|
||||
private var §_-h9§:ICodec;
|
||||
private var name_h9:ICodec;
|
||||
|
||||
public function CodecA3D2DirectionalLight()
|
||||
{
|
||||
@@ -38,34 +38,34 @@ package _codec.versions.version2.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Dh§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-Po§ = protocol.getCodec(new TypeCodecInfo(uint,false));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
this.§_-JX§ = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.§_-XW§ = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.§_-jk§ = protocol.getCodec(new TypeCodecInfo(Long,true));
|
||||
this.§_-S2§ = protocol.getCodec(new TypeCodecInfo(A3D2Transform,true));
|
||||
this.§_-h9§ = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
this.name_Dh = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_Po = protocol.getCodec(new TypeCodecInfo(uint,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
this.name_JX = protocol.getCodec(new TypeCodecInfo(Float,false));
|
||||
this.name_XW = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.name_jk = protocol.getCodec(new TypeCodecInfo(Long,true));
|
||||
this.name_S2 = protocol.getCodec(new TypeCodecInfo(A3D2Transform,true));
|
||||
this.name_h9 = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_boundBoxId:int = int(this.§_-Dh§.decode(protocolBuffer) as int);
|
||||
var value_boundBoxId:int = int(this.name_Dh.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2DirectionalLight","boundBoxId",value_boundBoxId);
|
||||
var value_color:uint = uint(this.§_-Po§.decode(protocolBuffer) as uint);
|
||||
var value_color:uint = uint(this.name_Po.decode(protocolBuffer) as uint);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2DirectionalLight","color",value_color);
|
||||
var value_id:Long = this.§_-2o§.decode(protocolBuffer) as Long;
|
||||
var value_id:Long = this.name_2o.decode(protocolBuffer) as Long;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2DirectionalLight","id",value_id);
|
||||
var value_intensity:Number = Number(this.§_-JX§.decode(protocolBuffer) as Number);
|
||||
var value_intensity:Number = Number(this.name_JX.decode(protocolBuffer) as Number);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2DirectionalLight","intensity",value_intensity);
|
||||
var value_name:String = this.§_-XW§.decode(protocolBuffer) as String;
|
||||
var value_name:String = this.name_XW.decode(protocolBuffer) as String;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2DirectionalLight","name",value_name);
|
||||
var value_parentId:Long = this.§_-jk§.decode(protocolBuffer) as Long;
|
||||
var value_parentId:Long = this.name_jk.decode(protocolBuffer) as Long;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2DirectionalLight","parentId",value_parentId);
|
||||
var value_transform:A3D2Transform = this.§_-S2§.decode(protocolBuffer) as A3D2Transform;
|
||||
var value_transform:A3D2Transform = this.name_S2.decode(protocolBuffer) as A3D2Transform;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2DirectionalLight","transform",value_transform);
|
||||
var value_visible:Boolean = Boolean(this.§_-h9§.decode(protocolBuffer) as Boolean);
|
||||
var value_visible:Boolean = Boolean(this.name_h9.decode(protocolBuffer) as Boolean);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2DirectionalLight","visible",value_visible);
|
||||
return new A3D2DirectionalLight(value_boundBoxId,value_color,value_id,value_intensity,value_name,value_parentId,value_transform,value_visible);
|
||||
}
|
||||
@@ -77,14 +77,14 @@ package _codec.versions.version2.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2DirectionalLight = A3D2DirectionalLight(object);
|
||||
this.§_-Dh§.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.§_-Po§.encode(protocolBuffer,struct.color);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-JX§.encode(protocolBuffer,struct.intensity);
|
||||
this.§_-XW§.encode(protocolBuffer,struct.name);
|
||||
this.§_-jk§.encode(protocolBuffer,struct.parentId);
|
||||
this.§_-S2§.encode(protocolBuffer,struct.transform);
|
||||
this.§_-h9§.encode(protocolBuffer,struct.visible);
|
||||
this.name_Dh.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.name_Po.encode(protocolBuffer,struct.color);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_JX.encode(protocolBuffer,struct.intensity);
|
||||
this.name_XW.encode(protocolBuffer,struct.name);
|
||||
this.name_jk.encode(protocolBuffer,struct.parentId);
|
||||
this.name_S2.encode(protocolBuffer,struct.transform);
|
||||
this.name_h9.encode(protocolBuffer,struct.visible);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,17 +14,17 @@ package _codec.versions.version2.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Dh§:ICodec;
|
||||
private var name_Dh:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
private var §_-XW§:ICodec;
|
||||
private var name_XW:ICodec;
|
||||
|
||||
private var §_-jk§:ICodec;
|
||||
private var name_jk:ICodec;
|
||||
|
||||
private var §_-S2§:ICodec;
|
||||
private var name_S2:ICodec;
|
||||
|
||||
private var §_-h9§:ICodec;
|
||||
private var name_h9:ICodec;
|
||||
|
||||
public function CodecA3D2Joint()
|
||||
{
|
||||
@@ -33,28 +33,28 @@ package _codec.versions.version2.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Dh§ = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
this.§_-XW§ = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.§_-jk§ = protocol.getCodec(new TypeCodecInfo(Long,true));
|
||||
this.§_-S2§ = protocol.getCodec(new TypeCodecInfo(A3D2Transform,true));
|
||||
this.§_-h9§ = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
this.name_Dh = protocol.getCodec(new TypeCodecInfo(int,true));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
this.name_XW = protocol.getCodec(new TypeCodecInfo(String,true));
|
||||
this.name_jk = protocol.getCodec(new TypeCodecInfo(Long,true));
|
||||
this.name_S2 = protocol.getCodec(new TypeCodecInfo(A3D2Transform,true));
|
||||
this.name_h9 = protocol.getCodec(new TypeCodecInfo(Boolean,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_boundBoxId:int = int(this.§_-Dh§.decode(protocolBuffer) as int);
|
||||
var value_boundBoxId:int = int(this.name_Dh.decode(protocolBuffer) as int);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Joint","boundBoxId",value_boundBoxId);
|
||||
var value_id:Long = this.§_-2o§.decode(protocolBuffer) as Long;
|
||||
var value_id:Long = this.name_2o.decode(protocolBuffer) as Long;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Joint","id",value_id);
|
||||
var value_name:String = this.§_-XW§.decode(protocolBuffer) as String;
|
||||
var value_name:String = this.name_XW.decode(protocolBuffer) as String;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Joint","name",value_name);
|
||||
var value_parentId:Long = this.§_-jk§.decode(protocolBuffer) as Long;
|
||||
var value_parentId:Long = this.name_jk.decode(protocolBuffer) as Long;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Joint","parentId",value_parentId);
|
||||
var value_transform:A3D2Transform = this.§_-S2§.decode(protocolBuffer) as A3D2Transform;
|
||||
var value_transform:A3D2Transform = this.name_S2.decode(protocolBuffer) as A3D2Transform;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Joint","transform",value_transform);
|
||||
var value_visible:Boolean = Boolean(this.§_-h9§.decode(protocolBuffer) as Boolean);
|
||||
var value_visible:Boolean = Boolean(this.name_h9.decode(protocolBuffer) as Boolean);
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2Joint","visible",value_visible);
|
||||
return new A3D2Joint(value_boundBoxId,value_id,value_name,value_parentId,value_transform,value_visible);
|
||||
}
|
||||
@@ -66,12 +66,12 @@ package _codec.versions.version2.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2Joint = A3D2Joint(object);
|
||||
this.§_-Dh§.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.§_-XW§.encode(protocolBuffer,struct.name);
|
||||
this.§_-jk§.encode(protocolBuffer,struct.parentId);
|
||||
this.§_-S2§.encode(protocolBuffer,struct.transform);
|
||||
this.§_-h9§.encode(protocolBuffer,struct.visible);
|
||||
this.name_Dh.encode(protocolBuffer,struct.boundBoxId);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
this.name_XW.encode(protocolBuffer,struct.name);
|
||||
this.name_jk.encode(protocolBuffer,struct.parentId);
|
||||
this.name_S2.encode(protocolBuffer,struct.transform);
|
||||
this.name_h9.encode(protocolBuffer,struct.visible);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,9 +14,9 @@ package _codec.versions.version2.a3d.objects
|
||||
{
|
||||
public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
|
||||
private var §_-Ov§:ICodec;
|
||||
private var name_Ov:ICodec;
|
||||
|
||||
private var §_-2o§:ICodec;
|
||||
private var name_2o:ICodec;
|
||||
|
||||
public function CodecA3D2JointBindTransform()
|
||||
{
|
||||
@@ -25,16 +25,16 @@ package _codec.versions.version2.a3d.objects
|
||||
|
||||
public function init(protocol:IProtocol) : void
|
||||
{
|
||||
this.§_-Ov§ = protocol.getCodec(new TypeCodecInfo(A3D2Transform,false));
|
||||
this.§_-2o§ = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
this.name_Ov = protocol.getCodec(new TypeCodecInfo(A3D2Transform,false));
|
||||
this.name_2o = protocol.getCodec(new TypeCodecInfo(Long,false));
|
||||
}
|
||||
|
||||
public function decode(protocolBuffer:ProtocolBuffer) : Object
|
||||
{
|
||||
log = IClientLog(OSGi.getInstance().getService(IClientLog));
|
||||
var value_bindPoseTransform:A3D2Transform = this.§_-Ov§.decode(protocolBuffer) as A3D2Transform;
|
||||
var value_bindPoseTransform:A3D2Transform = this.name_Ov.decode(protocolBuffer) as A3D2Transform;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2JointBindTransform","bindPoseTransform",value_bindPoseTransform);
|
||||
var value_id:Long = this.§_-2o§.decode(protocolBuffer) as Long;
|
||||
var value_id:Long = this.name_2o.decode(protocolBuffer) as Long;
|
||||
log.log("codec","struct %1 field %2 value %3","versions.version2.a3d.objects.A3D2JointBindTransform","id",value_id);
|
||||
return new A3D2JointBindTransform(value_bindPoseTransform,value_id);
|
||||
}
|
||||
@@ -46,8 +46,8 @@ package _codec.versions.version2.a3d.objects
|
||||
throw new Error("Object is null. Use @ProtocolOptional annotation.");
|
||||
}
|
||||
var struct:A3D2JointBindTransform = A3D2JointBindTransform(object);
|
||||
this.§_-Ov§.encode(protocolBuffer,struct.bindPoseTransform);
|
||||
this.§_-2o§.encode(protocolBuffer,struct.id);
|
||||
this.name_Ov.encode(protocolBuffer,struct.bindPoseTransform);
|
||||
this.name_2o.encode(protocolBuffer,struct.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user