예제 #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (party_ == null)
                    {
                        Party = new global::Improbable.OnlineServices.Proto.Party.Party();
                    }
                    input.ReadMessage(Party);
                    break;
                }

                case 18: {
                    metadata_.AddEntriesFrom(input, _map_metadata_codec);
                    break;
                }

                case 26: {
                    MatchRequestId = input.ReadString();
                    break;
                }
                }
            }
        }
예제 #2
0
 public void MergeFrom(Assignment other)
 {
     if (other == null)
     {
         return;
     }
     if (other.party_ != null)
     {
         if (party_ == null)
         {
             Party = new global::Improbable.OnlineServices.Proto.Party.Party();
         }
         Party.MergeFrom(other.Party);
     }
     if (other.Result != 0)
     {
         Result = other.Result;
     }
     if (other.DeploymentId.Length != 0)
     {
         DeploymentId = other.DeploymentId;
     }
     if (other.DeploymentName.Length != 0)
     {
         DeploymentName = other.DeploymentName;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #3
0
 public void MergeFrom(WaitingParty other)
 {
     if (other == null)
     {
         return;
     }
     if (other.party_ != null)
     {
         if (party_ == null)
         {
             Party = new global::Improbable.OnlineServices.Proto.Party.Party();
         }
         Party.MergeFrom(other.Party);
     }
     metadata_.Add(other.metadata_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #4
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (party_ == null)
                    {
                        Party = new global::Improbable.OnlineServices.Proto.Party.Party();
                    }
                    input.ReadMessage(Party);
                    break;
                }

                case 16: {
                    Result = (global::Improbable.OnlineServices.Proto.Gateway.Assignment.Types.Result)input.ReadEnum();
                    break;
                }

                case 26: {
                    DeploymentId = input.ReadString();
                    break;
                }

                case 34: {
                    DeploymentName = input.ReadString();
                    break;
                }
                }
            }
        }