Ejemplo n.º 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    cmd_ = (global::CoincheClient.CLobby.Types.Cmd)input.ReadEnum();
                    break;
                }

                case 18: {
                    Value = input.ReadString();
                    break;
                }

                case 24: {
                    team_ = (global::CoincheClient.Team)input.ReadEnum();
                    break;
                }
                }
            }
        }
Ejemplo n.º 2
0
 public void MergeFrom(Authentification other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Team != 0)
     {
         Team = other.Team;
     }
 }
Ejemplo n.º 3
0
 public void MergeFrom(CLobby other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Cmd != 0)
     {
         Cmd = other.Cmd;
     }
     if (other.Value.Length != 0)
     {
         Value = other.Value;
     }
     if (other.Team != 0)
     {
         Team = other.Team;
     }
 }
Ejemplo n.º 4
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    Name = input.ReadString();
                    break;
                }

                case 16: {
                    team_ = (global::CoincheClient.Team)input.ReadEnum();
                    break;
                }
                }
            }
        }