Fix errors that were immediatley obvious

This commit is contained in:
Pyogenics
2025-05-10 16:22:32 +01:00
parent dff7a33b36
commit 9d85a5b635
383 changed files with 6674 additions and 6653 deletions

View File

@@ -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);
}
}
}