public void MergeFrom(FightStartedEvent other) { if (other == null) { return; } if (other.fightInfo_ != null) { if (fightInfo_ == null) { fightInfo_ = new FightInfo(); } FightInfo.MergeFrom(other.FightInfo); } if (other.FightDefId != 0) { FightDefId = other.FightDefId; } if (other.FightType != 0) { FightType = other.FightType; } _unknownFields = UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }