Exemplo n.º 1
0
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 13: {
                    ServerTimestamp = input.ReadSFixed32();
                    break;
                }

                case 21: {
                    ClientIp = input.ReadFixed32();
                    break;
                }

                case 29: {
                    RedirectIp = input.ReadFixed32();
                    break;
                }

                case 32: {
                    RedirectPort = input.ReadUInt32();
                    break;
                }
                }
            }
        }
Exemplo n.º 2
0
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 8: {
                    AddressType = (global::AcFunDanmu.AccessPoint.Types.AddressType)input.ReadEnum();
                    break;
                }

                case 16: {
                    Port = input.ReadUInt32();
                    break;
                }

                case 29: {
                    IpV4 = input.ReadFixed32();
                    break;
                }

                case 34: {
                    IpV6 = input.ReadBytes();
                    break;
                }

                case 42: {
                    Domain = input.ReadString();
                    break;
                }

                case 53: {
                    Quic = input.ReadFixed32();
                    break;
                }

                case 58: {
                    QuicV6 = input.ReadBytes();
                    break;
                }
                }
            }
        }