public void MergeFrom(StartUpResponse other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.StartupStatus != 0) { StartupStatus = other.StartupStatus; } if (other.PlayerStatus != 0) { PlayerStatus = other.PlayerStatus; } if (other.Message.Length != 0) { Message = other.Message; } if (other.playerProfile_ != null) { if (playerProfile_ == null) { playerProfile_ = new global::Com.Inferno.Protos.UserProfile(); } PlayerProfile.MergeFrom(other.PlayerProfile); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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: { Id = input.ReadString(); break; } case 16: { startupStatus_ = (global::Com.Inferno.Protos.StartUpResponse.Types.StartupResponseStatus)input.ReadEnum(); break; } case 24: { playerStatus_ = (global::Com.Inferno.Protos.StartUpResponse.Types.PlayerStatus)input.ReadEnum(); break; } case 34: { Message = input.ReadString(); break; } case 42: { if (playerProfile_ == null) { playerProfile_ = new global::Com.Inferno.Protos.UserProfile(); } input.ReadMessage(playerProfile_); break; } } } }