Esempio n. 1
0
        public override PacketDistributed MergeFrom(pb::CodedInputStream input, PacketDistributed _base)
        {
            LogicFrame _inst = (LogicFrame)_base;

            while (true)
            {
                uint tag = input.ReadTag();
                switch (tag)
                {
                case 0:
                {
                    return(_inst);
                }

                case  8: {
                    _inst.FrameId = input.ReadInt32();
                    break;
                }

                case  18: {
                    FrameOpts subBuilder = new FrameOpts();
                    input.ReadMessage(subBuilder);
                    _inst.AddUnSyncFrames(subBuilder);
                    break;
                }
                }
            }
            return(_inst);
        }
Esempio n. 2
0
 public void AddUnSyncFrames(FrameOpts value)
 {
     unSyncFrames_.Add(value);
 }