public void MergeFrom(LoginOk other) { if (other == null) { return; } if (other.playerBaseInfo_ != null) { if (playerBaseInfo_ == null) { PlayerBaseInfo = new global::Tom.PlayerBaseInfo(); } PlayerBaseInfo.MergeFrom(other.PlayerBaseInfo); } _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: { if (playerBaseInfo_ == null) { PlayerBaseInfo = new global::Tom.PlayerBaseInfo(); } input.ReadMessage(PlayerBaseInfo); break; } } } }