// // Licensed under the MIT License. See LICENSE file in the project root for full license information. // //------------------------------------------------------------------------------ // // This source code was auto-generated by a roslyn code generator. // //------------------------------------------------------------------------------ // ReSharper disable All namespace MUnique.OpenMU.Persistence.BasicModel; using MUnique.OpenMU.Persistence.Json; /// /// A plain implementation of . /// public partial class MiniGameRankingEntry : MUnique.OpenMU.DataModel.Statistics.MiniGameRankingEntry, IIdentifiable, IConvertibleTo { /// /// Gets or sets the identifier of this instance. /// public Guid Id { get; set; } /// /// Gets the raw object of . /// [System.Text.Json.Serialization.JsonPropertyName("character")] public Character RawCharacter { get => base.Character as Character; set => base.Character = value; } /// [System.Text.Json.Serialization.JsonIgnore] public override MUnique.OpenMU.DataModel.Entities.Character Character { get => base.Character; set => base.Character = value; } /// /// Gets the raw object of . /// [System.Text.Json.Serialization.JsonPropertyName("miniGame")] public MiniGameDefinition RawMiniGame { get => base.MiniGame as MiniGameDefinition; set => base.MiniGame = value; } /// [System.Text.Json.Serialization.JsonIgnore] public override MUnique.OpenMU.DataModel.Configuration.MiniGameDefinition MiniGame { get => base.MiniGame; set => base.MiniGame = value; } /// public override bool Equals(object obj) { var baseObject = obj as IIdentifiable; if (baseObject != null) { return baseObject.Id == this.Id; } return base.Equals(obj); } /// public override int GetHashCode() { return this.Id.GetHashCode(); } /// public MiniGameRankingEntry Convert() => this; }