public override void write(Object obj1, BOutput bout1, long version) { base.write(obj1, bout1, version); SordLink obj = (SordLink)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.id); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.linkId); if (version >= 900000016000008L) { // checkpoint byps.gen.cs.PrintContext:494 bbuf.putBoolean(obj.permanent); } }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; SordLink obj = (SordLink)(obj1 != null ? obj1 : bin.onObjectCreated(new SordLink())); base.read(obj, bin1, version); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.id = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.linkId = bbuf.getString(); if (version >= 900000016000008L) { // checkpoint byps.gen.cs.PrintContext:449 obj.permanent = bbuf.getBoolean(); } return(obj); }
public SordLink(SordLink rhs) : base(rhs) { this.idValue = rhs.idValue; this.linkIdValue = rhs.linkIdValue; this.permanentValue = rhs.permanentValue; }