mirror of
https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient.git
synced 2025-10-26 09:59:07 -07:00
Use rename identifiers
This commit is contained in:
@@ -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 var_243:ICodec;
|
||||
|
||||
private var §_-Ja§:ICodec;
|
||||
private var var_394:ICodec;
|
||||
|
||||
private var §_-Fo§:ICodec;
|
||||
private var var_393: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.var_243 = protocol.getCodec(new TypeCodecInfo(int,false));
|
||||
this.var_394 = protocol.getCodec(new CollectionCodecInfo(new TypeCodecInfo(A3D2Keyframe,false),false,1));
|
||||
this.var_393 = 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.var_243.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.var_394.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.var_393.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.var_243.encode(protocolBuffer,struct.id);
|
||||
this.var_394.encode(protocolBuffer,struct.keyframes);
|
||||
this.var_393.encode(protocolBuffer,struct.objectName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user