コード例 #1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            UserProfileC obj  = (UserProfileC)obj1;
            BOutputBin   bout = (BOutputBin)bout1;
            BBufferBin   bbuf = bout.bbuf;

            if (version >= 700000000000036L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.lnKey);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.lnValue);
            }
        }
コード例 #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin    bin = (BInputBin)bin1;
            UserProfileC obj = (UserProfileC)(obj1 != null ? obj1 : bin.onObjectCreated(new UserProfileC()));

            BBufferBin bbuf = bin.bbuf;

            if (version >= 700000000000036L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lnKey = bbuf.getInt();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lnValue = bbuf.getInt();
            }

            return(obj);
        }
コード例 #3
0
 public UserProfileC(UserProfileC rhs)
 {
     this.lnKeyValue   = rhs.lnKeyValue;
     this.lnValueValue = rhs.lnValueValue;
 }