21 lines
858 B
C#
21 lines
858 B
C#
namespace Server.Mappers;
|
|
|
|
[Mapper]
|
|
public static partial class AiScoreMappers
|
|
{
|
|
[SuppressMessage("Mapper", "RMG020:Source member is not mapped to any target member")]
|
|
[SuppressMessage("Mapper", "RMG012:Source member was not found for target member")]
|
|
[MapProperty(nameof(AiScoreDatum.AiSectionScoreData), nameof(CommonAiScoreResponse.AryBestSectionDatas))]
|
|
public static partial CommonAiScoreResponse MapToCommonAiScoreResponse(AiScoreDatum datum);
|
|
|
|
public static CommonAiScoreResponse MapAsSuccess(AiScoreDatum datum)
|
|
{
|
|
var response= MapToCommonAiScoreResponse(datum);
|
|
response.Result = 1;
|
|
return response;
|
|
}
|
|
|
|
public static partial GetAiScoreResponse MapTo3906(CommonAiScoreResponse response);
|
|
|
|
public static partial Models.v3209.GetAiScoreResponse MapTo3209(CommonAiScoreResponse response);
|
|
} |