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 (user_ == null) { User = new global::UserManagement.User(); } input.ReadMessage(User); break; } case 18: { SessionId = input.ReadString(); break; } case 26: { Uuid = input.ReadString(); break; } } } }
public void MergeFrom(UserUpdatePacket other) { if (other == null) { return; } if (other.SessionId.Length != 0) { SessionId = other.SessionId; } if (other.Uuid.Length != 0) { Uuid = other.Uuid; } if (other.user_ != null) { if (user_ == null) { User = new global::UserManagement.User(); } User.MergeFrom(other.User); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }