commit 03b04e68c345622b70404b57da3fa8fd5f494d6e Author: asesidaa <1061472754@qq.com> Date: Sat Aug 13 21:54:14 2022 +0800 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..25b4d99 --- /dev/null +++ b/.gitignore @@ -0,0 +1,398 @@ +/.idea/ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio 6 auto-generated project file (contains which files were open etc.) +*.vbp + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp + +# Visual Studio 6 technical files +*.ncb +*.aps + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# Visual Studio History (VSHistory) files +.vshistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +*.sln.iml \ No newline at end of file diff --git a/TaikoLocalServer.sln b/TaikoLocalServer.sln new file mode 100644 index 0000000..10aa03a --- /dev/null +++ b/TaikoLocalServer.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaikoLocalServer", "TaikoLocalServer\TaikoLocalServer.csproj", "{98FDA12C-CD3C-42D0-BEBE-4E809E6E41AC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {98FDA12C-CD3C-42D0-BEBE-4E809E6E41AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {98FDA12C-CD3C-42D0-BEBE-4E809E6E41AC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {98FDA12C-CD3C-42D0-BEBE-4E809E6E41AC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {98FDA12C-CD3C-42D0-BEBE-4E809E6E41AC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/TaikoLocalServer/Controllers/BookkeepingController.cs b/TaikoLocalServer/Controllers/BookkeepingController.cs new file mode 100644 index 0000000..764d75f --- /dev/null +++ b/TaikoLocalServer/Controllers/BookkeepingController.cs @@ -0,0 +1,30 @@ +using Microsoft.AspNetCore.Mvc; +using Swan.Formatters; +using taiko.game; + +namespace TaikoLocalServer.Controllers; + +[ApiController] +[Route("/v12r03/chassis/bookkeeping.php")] +public class BookkeepingController : ControllerBase +{ + private readonly ILogger logger; + public BookkeepingController(ILogger logger) { + this.logger = logger; + } + + [HttpPost] + [Produces("application/protobuf")] + public IActionResult StartupAuth([FromBody] BookKeepingRequest request) + { + logger.LogInformation("Bookkeeping request: {Request}", request.Stringify()); + var response = new BookKeepingResponse() + { + Result = 1 + }; + + + return Ok(response); + } + +} \ No newline at end of file diff --git a/TaikoLocalServer/Controllers/HeartbeatController.cs b/TaikoLocalServer/Controllers/HeartbeatController.cs new file mode 100644 index 0000000..8771f2e --- /dev/null +++ b/TaikoLocalServer/Controllers/HeartbeatController.cs @@ -0,0 +1,35 @@ +using System.Net; +using Microsoft.AspNetCore.Mvc; +using ProtoBuf; +using Swan.Formatters; +using Swan.Logging; +using taiko.game; +using taiko.vsinterface; + +namespace TaikoLocalServer.Controllers; + +[ApiController] +[Route("/v12r03/chassis/heartbeat.php")] +public class HeartbeatController : ControllerBase +{ + private readonly ILogger logger; + + public HeartbeatController(ILogger logger) { + this.logger = logger; + } + + [HttpPost] + [Produces("application/protobuf")] + public IActionResult HeartBeat([FromBody] HeartBeatRequest request) + { + logger.LogInformation("Heartbeat request: {Request}", request.Stringify()); + var response = new HeartBeatResponse + { + Result = 1, + ComSvrStat = 1, + GameSvrStat = 1 + }; + + return Ok(response); + } +} \ No newline at end of file diff --git a/TaikoLocalServer/Controllers/StartupAuthController.cs b/TaikoLocalServer/Controllers/StartupAuthController.cs new file mode 100644 index 0000000..e19e45f --- /dev/null +++ b/TaikoLocalServer/Controllers/StartupAuthController.cs @@ -0,0 +1,38 @@ +using System.Net; +using Microsoft.AspNetCore.Mvc; +using ProtoBuf; +using Swan.Formatters; +using taiko.vsinterface; + +namespace TaikoLocalServer.Controllers; + +[ApiController] +[Route("/v01r00/chassis/startupauth.php")] +public class StartupAuthController : ControllerBase +{ + private readonly ILogger logger; + + public StartupAuthController(ILogger logger) { + this.logger = logger; + } + + [HttpPost] + [Produces("application/protobuf")] + public IActionResult StartupAuth([FromBody] StartupAuthRequest request) + { + logger.LogInformation("Heartbeat request: {Request}", request.Stringify()); + var response = new StartupAuthResponse + { + Result = 1 + }; + var info = request.AryOperationInfoes.ConvertAll(input => + new StartupAuthResponse.OperationData + { + KeyData = input.KeyData, + ValueData = input.ValueData + }); + response.AryOperationInfoes.AddRange(info); + + return Ok(response); + } +} \ No newline at end of file diff --git a/TaikoLocalServer/Models/Game.cs b/TaikoLocalServer/Models/Game.cs new file mode 100644 index 0000000..4b57119 --- /dev/null +++ b/TaikoLocalServer/Models/Game.cs @@ -0,0 +1,2512 @@ +// +// This file was generated by a tool; you should avoid making direct changes. +// Consider using 'partial classes' to extend these types +// Input: my.proto +// + +#region Designer generated code +#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +namespace taiko.game +{ + + [global::ProtoBuf.ProtoContract()] + public partial class HeartBeatRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class HeartBeatResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"com_svr_stat", IsRequired = true)] + public uint ComSvrStat { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"game_svr_stat", IsRequired = true)] + public uint GameSvrStat { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class BookKeepingRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"update_date", IsRequired = true)] + public string UpdateDate { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"credit_cost_1", IsRequired = true)] + public uint CreditCost1 { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"credit_cost_2", IsRequired = true)] + public uint CreditCost2 { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"credit_songs_1", IsRequired = true)] + public uint CreditSongs1 { get; set; } + + [global::ProtoBuf.ProtoMember(7, Name = @"credit_songs_2", IsRequired = true)] + public uint CreditSongs2 { get; set; } + + [global::ProtoBuf.ProtoMember(8, Name = @"all_play_cnt", IsRequired = true)] + public uint AllPlayCnt { get; set; } + + [global::ProtoBuf.ProtoMember(9, Name = @"service_sw_cnt", IsRequired = true)] + public uint ServiceSwCnt { get; set; } + + [global::ProtoBuf.ProtoMember(10, Name = @"free_play_cnt", IsRequired = true)] + public uint FreePlayCnt { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class BookKeepingResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class InitialdatacheckRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class InitialdatacheckResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"default_song_flg")] + public byte[] DefaultSongFlg + { + get => __pbn__DefaultSongFlg; + set => __pbn__DefaultSongFlg = value; + } + public bool ShouldSerializeDefaultSongFlg() => __pbn__DefaultSongFlg != null; + public void ResetDefaultSongFlg() => __pbn__DefaultSongFlg = null; + private byte[] __pbn__DefaultSongFlg; + + [global::ProtoBuf.ProtoMember(3, Name = @"ary_telop_data")] + public global::System.Collections.Generic.List AryTelopDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4, Name = @"ary_eventfolder_data")] + public global::System.Collections.Generic.List AryEventfolderDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5, Name = @"ary_shop_folder_data")] + public global::System.Collections.Generic.List AryShopFolderDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(6, Name = @"ary_song_introduction_data")] + public global::System.Collections.Generic.List ArySongIntroductionDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(7, Name = @"song_introduction_end_datetime")] + [global::System.ComponentModel.DefaultValue("")] + public string SongIntroductionEndDatetime + { + get => __pbn__SongIntroductionEndDatetime ?? ""; + set => __pbn__SongIntroductionEndDatetime = value; + } + public bool ShouldSerializeSongIntroductionEndDatetime() => __pbn__SongIntroductionEndDatetime != null; + public void ResetSongIntroductionEndDatetime() => __pbn__SongIntroductionEndDatetime = null; + private string __pbn__SongIntroductionEndDatetime; + + [global::ProtoBuf.ProtoMember(8, Name = @"ary_movie_info")] + public global::System.Collections.Generic.List AryMovieInfoes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(9, Name = @"is_danplay")] + public bool IsDanplay + { + get => __pbn__IsDanplay.GetValueOrDefault(); + set => __pbn__IsDanplay = value; + } + public bool ShouldSerializeIsDanplay() => __pbn__IsDanplay != null; + public void ResetIsDanplay() => __pbn__IsDanplay = null; + private bool? __pbn__IsDanplay; + + [global::ProtoBuf.ProtoMember(10, Name = @"is_close")] + public bool IsClose + { + get => __pbn__IsClose.GetValueOrDefault(); + set => __pbn__IsClose = value; + } + public bool ShouldSerializeIsClose() => __pbn__IsClose != null; + public void ResetIsClose() => __pbn__IsClose = null; + private bool? __pbn__IsClose; + + [global::ProtoBuf.ProtoMember(11, Name = @"is_aibattle")] + public bool IsAibattle + { + get => __pbn__IsAibattle.GetValueOrDefault(); + set => __pbn__IsAibattle = value; + } + public bool ShouldSerializeIsAibattle() => __pbn__IsAibattle != null; + public void ResetIsAibattle() => __pbn__IsAibattle = null; + private bool? __pbn__IsAibattle; + + [global::ProtoBuf.ProtoContract()] + public partial class InformationData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"info_id", IsRequired = true)] + public uint InfoId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"verup_no", IsRequired = true)] + public uint VerupNo { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class MovieData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"movie_id", IsRequired = true)] + public uint MovieId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"enable_days", IsRequired = true)] + public uint EnableDays { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GettelopRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"telop_id", IsRequired = true)] + public uint TelopId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GettelopResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"verup_no")] + public uint VerupNo + { + get => __pbn__VerupNo.GetValueOrDefault(); + set => __pbn__VerupNo = value; + } + public bool ShouldSerializeVerupNo() => __pbn__VerupNo != null; + public void ResetVerupNo() => __pbn__VerupNo = null; + private uint? __pbn__VerupNo; + + [global::ProtoBuf.ProtoMember(3, Name = @"start_datetime")] + [global::System.ComponentModel.DefaultValue("")] + public string StartDatetime + { + get => __pbn__StartDatetime ?? ""; + set => __pbn__StartDatetime = value; + } + public bool ShouldSerializeStartDatetime() => __pbn__StartDatetime != null; + public void ResetStartDatetime() => __pbn__StartDatetime = null; + private string __pbn__StartDatetime; + + [global::ProtoBuf.ProtoMember(4, Name = @"end_datetime")] + [global::System.ComponentModel.DefaultValue("")] + public string EndDatetime + { + get => __pbn__EndDatetime ?? ""; + set => __pbn__EndDatetime = value; + } + public bool ShouldSerializeEndDatetime() => __pbn__EndDatetime != null; + public void ResetEndDatetime() => __pbn__EndDatetime = null; + private string __pbn__EndDatetime; + + [global::ProtoBuf.ProtoMember(5, Name = @"telop")] + [global::System.ComponentModel.DefaultValue("")] + public string Telop + { + get => __pbn__Telop ?? ""; + set => __pbn__Telop = value; + } + public bool ShouldSerializeTelop() => __pbn__Telop != null; + public void ResetTelop() => __pbn__Telop = null; + private string __pbn__Telop; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetfolderRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"folder_id")] + public uint[] FolderIds { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetfolderResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"ary_eventfolder_data")] + public global::System.Collections.Generic.List AryEventfolderDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class EventfolderData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"folder_id", IsRequired = true)] + public uint FolderId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"verup_no", IsRequired = true)] + public uint VerupNo { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"priority", IsRequired = true)] + public uint Priority { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"song_no")] + public uint[] SongNoes { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetShopFolderRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetShopFolderResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"verup_no")] + public uint VerupNo + { + get => __pbn__VerupNo.GetValueOrDefault(); + set => __pbn__VerupNo = value; + } + public bool ShouldSerializeVerupNo() => __pbn__VerupNo != null; + public void ResetVerupNo() => __pbn__VerupNo = null; + private uint? __pbn__VerupNo; + + [global::ProtoBuf.ProtoMember(3, Name = @"token_id")] + public uint TokenId + { + get => __pbn__TokenId.GetValueOrDefault(); + set => __pbn__TokenId = value; + } + public bool ShouldSerializeTokenId() => __pbn__TokenId != null; + public void ResetTokenId() => __pbn__TokenId = null; + private uint? __pbn__TokenId; + + [global::ProtoBuf.ProtoMember(4, Name = @"ary_shop_folder_data")] + public global::System.Collections.Generic.List AryShopFolderDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class ShopFolderData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"song_no", IsRequired = true)] + public uint SongNo { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"price", IsRequired = true)] + public uint Price { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetSongIntroductionRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"set_id")] + public uint[] SetIds { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetSongIntroductionResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"ary_song_introduction_data")] + public global::System.Collections.Generic.List ArySongIntroductionDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class SongIntroductionData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"set_id", IsRequired = true)] + public uint SetId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"verup_no", IsRequired = true)] + public uint VerupNo { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"main_song_no")] + public uint MainSongNo + { + get => __pbn__MainSongNo.GetValueOrDefault(); + set => __pbn__MainSongNo = value; + } + public bool ShouldSerializeMainSongNo() => __pbn__MainSongNo != null; + public void ResetMainSongNo() => __pbn__MainSongNo = null; + private uint? __pbn__MainSongNo; + + [global::ProtoBuf.ProtoMember(4, Name = @"sub_song_no")] + public uint[] SubSongNoes { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class TournamentcheckRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"kit_id", IsRequired = true)] + public uint KitId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class TournamentcheckResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"rare_rate")] + public uint RareRate + { + get => __pbn__RareRate.GetValueOrDefault(); + set => __pbn__RareRate = value; + } + public bool ShouldSerializeRareRate() => __pbn__RareRate != null; + public void ResetRareRate() => __pbn__RareRate = null; + private uint? __pbn__RareRate; + + [global::ProtoBuf.ProtoMember(3, Name = @"ary_gacha_song_data")] + public global::System.Collections.Generic.List AryGachaSongDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4, Name = @"ary_gacha_tone_data")] + public global::System.Collections.Generic.List AryGachaToneDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(5, Name = @"ary_gacha_costume_1_data")] + public global::System.Collections.Generic.List AryGachaCostume1Datas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(6, Name = @"ary_gacha_costume_2_data")] + public global::System.Collections.Generic.List AryGachaCostume2Datas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(7, Name = @"ary_gacha_costume_3_data")] + public global::System.Collections.Generic.List AryGachaCostume3Datas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(8, Name = @"ary_gacha_costume_4_data")] + public global::System.Collections.Generic.List AryGachaCostume4Datas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(9, Name = @"ary_gacha_costume_5_data")] + public global::System.Collections.Generic.List AryGachaCostume5Datas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(10, Name = @"ary_gacha_title_data")] + public global::System.Collections.Generic.List AryGachaTitleDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class GachainfoData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"normal_gacha_flg", IsRequired = true)] + public byte[] NormalGachaFlg { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"rare_gacha_flg", IsRequired = true)] + public byte[] RareGachaFlg { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class BAIDRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"device_type", IsRequired = true)] + public uint DeviceType { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"access_code", IsRequired = true)] + public string AccessCode { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"chip_id", IsRequired = true)] + public string ChipId { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"country_id", IsRequired = true)] + public string CountryId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class BAIDResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"player_type")] + public uint PlayerType + { + get => __pbn__PlayerType.GetValueOrDefault(); + set => __pbn__PlayerType = value; + } + public bool ShouldSerializePlayerType() => __pbn__PlayerType != null; + public void ResetPlayerType() => __pbn__PlayerType = null; + private uint? __pbn__PlayerType; + + [global::ProtoBuf.ProtoMember(3, Name = @"com_svr_result")] + public uint ComSvrResult + { + get => __pbn__ComSvrResult.GetValueOrDefault(); + set => __pbn__ComSvrResult = value; + } + public bool ShouldSerializeComSvrResult() => __pbn__ComSvrResult != null; + public void ResetComSvrResult() => __pbn__ComSvrResult = null; + private uint? __pbn__ComSvrResult; + + [global::ProtoBuf.ProtoMember(4, Name = @"mb_id")] + public uint MbId + { + get => __pbn__MbId.GetValueOrDefault(); + set => __pbn__MbId = value; + } + public bool ShouldSerializeMbId() => __pbn__MbId != null; + public void ResetMbId() => __pbn__MbId = null; + private uint? __pbn__MbId; + + [global::ProtoBuf.ProtoMember(5, Name = @"baid")] + public uint Baid + { + get => __pbn__Baid.GetValueOrDefault(); + set => __pbn__Baid = value; + } + public bool ShouldSerializeBaid() => __pbn__Baid != null; + public void ResetBaid() => __pbn__Baid = null; + private uint? __pbn__Baid; + + [global::ProtoBuf.ProtoMember(6, Name = @"access_code")] + [global::System.ComponentModel.DefaultValue("")] + public string AccessCode + { + get => __pbn__AccessCode ?? ""; + set => __pbn__AccessCode = value; + } + public bool ShouldSerializeAccessCode() => __pbn__AccessCode != null; + public void ResetAccessCode() => __pbn__AccessCode = null; + private string __pbn__AccessCode; + + [global::ProtoBuf.ProtoMember(7, Name = @"is_publish")] + public bool IsPublish + { + get => __pbn__IsPublish.GetValueOrDefault(); + set => __pbn__IsPublish = value; + } + public bool ShouldSerializeIsPublish() => __pbn__IsPublish != null; + public void ResetIsPublish() => __pbn__IsPublish = null; + private bool? __pbn__IsPublish; + + [global::ProtoBuf.ProtoMember(8, Name = @"card_own_num")] + public uint CardOwnNum + { + get => __pbn__CardOwnNum.GetValueOrDefault(); + set => __pbn__CardOwnNum = value; + } + public bool ShouldSerializeCardOwnNum() => __pbn__CardOwnNum != null; + public void ResetCardOwnNum() => __pbn__CardOwnNum = null; + private uint? __pbn__CardOwnNum; + + [global::ProtoBuf.ProtoMember(9, Name = @"reg_country_id")] + [global::System.ComponentModel.DefaultValue("")] + public string RegCountryId + { + get => __pbn__RegCountryId ?? ""; + set => __pbn__RegCountryId = value; + } + public bool ShouldSerializeRegCountryId() => __pbn__RegCountryId != null; + public void ResetRegCountryId() => __pbn__RegCountryId = null; + private string __pbn__RegCountryId; + + [global::ProtoBuf.ProtoMember(10, Name = @"purpose_id")] + public uint PurposeId + { + get => __pbn__PurposeId.GetValueOrDefault(); + set => __pbn__PurposeId = value; + } + public bool ShouldSerializePurposeId() => __pbn__PurposeId != null; + public void ResetPurposeId() => __pbn__PurposeId = null; + private uint? __pbn__PurposeId; + + [global::ProtoBuf.ProtoMember(11, Name = @"region_id")] + public uint RegionId + { + get => __pbn__RegionId.GetValueOrDefault(); + set => __pbn__RegionId = value; + } + public bool ShouldSerializeRegionId() => __pbn__RegionId != null; + public void ResetRegionId() => __pbn__RegionId = null; + private uint? __pbn__RegionId; + + [global::ProtoBuf.ProtoMember(12, Name = @"mydon_name")] + [global::System.ComponentModel.DefaultValue("")] + public string MydonName + { + get => __pbn__MydonName ?? ""; + set => __pbn__MydonName = value; + } + public bool ShouldSerializeMydonName() => __pbn__MydonName != null; + public void ResetMydonName() => __pbn__MydonName = null; + private string __pbn__MydonName; + + [global::ProtoBuf.ProtoMember(13, Name = @"title")] + [global::System.ComponentModel.DefaultValue("")] + public string Title + { + get => __pbn__Title ?? ""; + set => __pbn__Title = value; + } + public bool ShouldSerializeTitle() => __pbn__Title != null; + public void ResetTitle() => __pbn__Title = null; + private string __pbn__Title; + + [global::ProtoBuf.ProtoMember(14, Name = @"titleplate_id")] + public uint TitleplateId + { + get => __pbn__TitleplateId.GetValueOrDefault(); + set => __pbn__TitleplateId = value; + } + public bool ShouldSerializeTitleplateId() => __pbn__TitleplateId != null; + public void ResetTitleplateId() => __pbn__TitleplateId = null; + private uint? __pbn__TitleplateId; + + [global::ProtoBuf.ProtoMember(15, Name = @"color_face")] + public uint ColorFace + { + get => __pbn__ColorFace.GetValueOrDefault(); + set => __pbn__ColorFace = value; + } + public bool ShouldSerializeColorFace() => __pbn__ColorFace != null; + public void ResetColorFace() => __pbn__ColorFace = null; + private uint? __pbn__ColorFace; + + [global::ProtoBuf.ProtoMember(16, Name = @"color_body")] + public uint ColorBody + { + get => __pbn__ColorBody.GetValueOrDefault(); + set => __pbn__ColorBody = value; + } + public bool ShouldSerializeColorBody() => __pbn__ColorBody != null; + public void ResetColorBody() => __pbn__ColorBody = null; + private uint? __pbn__ColorBody; + + [global::ProtoBuf.ProtoMember(17, Name = @"color_limb")] + public uint ColorLimb + { + get => __pbn__ColorLimb.GetValueOrDefault(); + set => __pbn__ColorLimb = value; + } + public bool ShouldSerializeColorLimb() => __pbn__ColorLimb != null; + public void ResetColorLimb() => __pbn__ColorLimb = null; + private uint? __pbn__ColorLimb; + + [global::ProtoBuf.ProtoMember(18, Name = @"ary_costumedata")] + public CostumeData AryCostumedata { get; set; } + + [global::ProtoBuf.ProtoMember(19, Name = @"costume_flg_1")] + public byte[] CostumeFlg1 + { + get => __pbn__CostumeFlg1; + set => __pbn__CostumeFlg1 = value; + } + public bool ShouldSerializeCostumeFlg1() => __pbn__CostumeFlg1 != null; + public void ResetCostumeFlg1() => __pbn__CostumeFlg1 = null; + private byte[] __pbn__CostumeFlg1; + + [global::ProtoBuf.ProtoMember(20, Name = @"costume_flg_2")] + public byte[] CostumeFlg2 + { + get => __pbn__CostumeFlg2; + set => __pbn__CostumeFlg2 = value; + } + public bool ShouldSerializeCostumeFlg2() => __pbn__CostumeFlg2 != null; + public void ResetCostumeFlg2() => __pbn__CostumeFlg2 = null; + private byte[] __pbn__CostumeFlg2; + + [global::ProtoBuf.ProtoMember(21, Name = @"costume_flg_3")] + public byte[] CostumeFlg3 + { + get => __pbn__CostumeFlg3; + set => __pbn__CostumeFlg3 = value; + } + public bool ShouldSerializeCostumeFlg3() => __pbn__CostumeFlg3 != null; + public void ResetCostumeFlg3() => __pbn__CostumeFlg3 = null; + private byte[] __pbn__CostumeFlg3; + + [global::ProtoBuf.ProtoMember(22, Name = @"costume_flg_4")] + public byte[] CostumeFlg4 + { + get => __pbn__CostumeFlg4; + set => __pbn__CostumeFlg4 = value; + } + public bool ShouldSerializeCostumeFlg4() => __pbn__CostumeFlg4 != null; + public void ResetCostumeFlg4() => __pbn__CostumeFlg4 = null; + private byte[] __pbn__CostumeFlg4; + + [global::ProtoBuf.ProtoMember(23, Name = @"costume_flg_5")] + public byte[] CostumeFlg5 + { + get => __pbn__CostumeFlg5; + set => __pbn__CostumeFlg5 = value; + } + public bool ShouldSerializeCostumeFlg5() => __pbn__CostumeFlg5 != null; + public void ResetCostumeFlg5() => __pbn__CostumeFlg5 = null; + private byte[] __pbn__CostumeFlg5; + + [global::ProtoBuf.ProtoMember(24, Name = @"last_play_datetime")] + [global::System.ComponentModel.DefaultValue("")] + public string LastPlayDatetime + { + get => __pbn__LastPlayDatetime ?? ""; + set => __pbn__LastPlayDatetime = value; + } + public bool ShouldSerializeLastPlayDatetime() => __pbn__LastPlayDatetime != null; + public void ResetLastPlayDatetime() => __pbn__LastPlayDatetime = null; + private string __pbn__LastPlayDatetime; + + [global::ProtoBuf.ProtoMember(25, Name = @"is_disp_dan_on")] + public bool IsDispDanOn + { + get => __pbn__IsDispDanOn.GetValueOrDefault(); + set => __pbn__IsDispDanOn = value; + } + public bool ShouldSerializeIsDispDanOn() => __pbn__IsDispDanOn != null; + public void ResetIsDispDanOn() => __pbn__IsDispDanOn = null; + private bool? __pbn__IsDispDanOn; + + [global::ProtoBuf.ProtoMember(26, Name = @"got_dan_max")] + public uint GotDanMax + { + get => __pbn__GotDanMax.GetValueOrDefault(); + set => __pbn__GotDanMax = value; + } + public bool ShouldSerializeGotDanMax() => __pbn__GotDanMax != null; + public void ResetGotDanMax() => __pbn__GotDanMax = null; + private uint? __pbn__GotDanMax; + + [global::ProtoBuf.ProtoMember(27, Name = @"default_tone_setting")] + public uint DefaultToneSetting + { + get => __pbn__DefaultToneSetting.GetValueOrDefault(); + set => __pbn__DefaultToneSetting = value; + } + public bool ShouldSerializeDefaultToneSetting() => __pbn__DefaultToneSetting != null; + public void ResetDefaultToneSetting() => __pbn__DefaultToneSetting = null; + private uint? __pbn__DefaultToneSetting; + + [global::ProtoBuf.ProtoMember(28, Name = @"generic_info_flg")] + public byte[] GenericInfoFlg + { + get => __pbn__GenericInfoFlg; + set => __pbn__GenericInfoFlg = value; + } + public bool ShouldSerializeGenericInfoFlg() => __pbn__GenericInfoFlg != null; + public void ResetGenericInfoFlg() => __pbn__GenericInfoFlg = null; + private byte[] __pbn__GenericInfoFlg; + + [global::ProtoBuf.ProtoMember(29, Name = @"ary_crown_count")] + public uint[] AryCrownCounts { get; set; } + + [global::ProtoBuf.ProtoMember(30, Name = @"ary_score_rank_count")] + public uint[] AryScoreRankCounts { get; set; } + + [global::ProtoBuf.ProtoMember(31, Name = @"is_disp_achievement_on")] + public bool IsDispAchievementOn + { + get => __pbn__IsDispAchievementOn.GetValueOrDefault(); + set => __pbn__IsDispAchievementOn = value; + } + public bool ShouldSerializeIsDispAchievementOn() => __pbn__IsDispAchievementOn != null; + public void ResetIsDispAchievementOn() => __pbn__IsDispAchievementOn = null; + private bool? __pbn__IsDispAchievementOn; + + [global::ProtoBuf.ProtoMember(32, Name = @"disp_achievement_type")] + public uint DispAchievementType + { + get => __pbn__DispAchievementType.GetValueOrDefault(); + set => __pbn__DispAchievementType = value; + } + public bool ShouldSerializeDispAchievementType() => __pbn__DispAchievementType != null; + public void ResetDispAchievementType() => __pbn__DispAchievementType = null; + private uint? __pbn__DispAchievementType; + + [global::ProtoBuf.ProtoMember(33, Name = @"accesstoken")] + [global::System.ComponentModel.DefaultValue("")] + public string Accesstoken + { + get => __pbn__Accesstoken ?? ""; + set => __pbn__Accesstoken = value; + } + public bool ShouldSerializeAccesstoken() => __pbn__Accesstoken != null; + public void ResetAccesstoken() => __pbn__Accesstoken = null; + private string __pbn__Accesstoken; + + [global::ProtoBuf.ProtoMember(34, Name = @"content_info")] + public byte[] ContentInfo + { + get => __pbn__ContentInfo; + set => __pbn__ContentInfo = value; + } + public bool ShouldSerializeContentInfo() => __pbn__ContentInfo != null; + public void ResetContentInfo() => __pbn__ContentInfo = null; + private byte[] __pbn__ContentInfo; + + [global::ProtoBuf.ProtoContract()] + public partial class CostumeData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"costume_1")] + public uint Costume1 + { + get => __pbn__Costume1.GetValueOrDefault(); + set => __pbn__Costume1 = value; + } + public bool ShouldSerializeCostume1() => __pbn__Costume1 != null; + public void ResetCostume1() => __pbn__Costume1 = null; + private uint? __pbn__Costume1; + + [global::ProtoBuf.ProtoMember(2, Name = @"costume_2")] + public uint Costume2 + { + get => __pbn__Costume2.GetValueOrDefault(); + set => __pbn__Costume2 = value; + } + public bool ShouldSerializeCostume2() => __pbn__Costume2 != null; + public void ResetCostume2() => __pbn__Costume2 = null; + private uint? __pbn__Costume2; + + [global::ProtoBuf.ProtoMember(3, Name = @"costume_3")] + public uint Costume3 + { + get => __pbn__Costume3.GetValueOrDefault(); + set => __pbn__Costume3 = value; + } + public bool ShouldSerializeCostume3() => __pbn__Costume3 != null; + public void ResetCostume3() => __pbn__Costume3 = null; + private uint? __pbn__Costume3; + + [global::ProtoBuf.ProtoMember(4, Name = @"costume_4")] + public uint Costume4 + { + get => __pbn__Costume4.GetValueOrDefault(); + set => __pbn__Costume4 = value; + } + public bool ShouldSerializeCostume4() => __pbn__Costume4 != null; + public void ResetCostume4() => __pbn__Costume4 = null; + private uint? __pbn__Costume4; + + [global::ProtoBuf.ProtoMember(5, Name = @"costume_5")] + public uint Costume5 + { + get => __pbn__Costume5.GetValueOrDefault(); + set => __pbn__Costume5 = value; + } + public bool ShouldSerializeCostume5() => __pbn__Costume5 != null; + public void ResetCostume5() => __pbn__Costume5 = null; + private uint? __pbn__Costume5; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class MydonEntryRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"device_type", IsRequired = true)] + public uint DeviceType { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"access_code", IsRequired = true)] + public string AccessCode { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"chip_id", IsRequired = true)] + public string ChipId { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"country_id", IsRequired = true)] + public string CountryId { get; set; } + + [global::ProtoBuf.ProtoMember(7, Name = @"mydon_name", IsRequired = true)] + public string MydonName { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class MydonEntryResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"com_svr_result")] + public uint ComSvrResult + { + get => __pbn__ComSvrResult.GetValueOrDefault(); + set => __pbn__ComSvrResult = value; + } + public bool ShouldSerializeComSvrResult() => __pbn__ComSvrResult != null; + public void ResetComSvrResult() => __pbn__ComSvrResult = null; + private uint? __pbn__ComSvrResult; + + [global::ProtoBuf.ProtoMember(3, Name = @"mb_id")] + public uint MbId + { + get => __pbn__MbId.GetValueOrDefault(); + set => __pbn__MbId = value; + } + public bool ShouldSerializeMbId() => __pbn__MbId != null; + public void ResetMbId() => __pbn__MbId = null; + private uint? __pbn__MbId; + + [global::ProtoBuf.ProtoMember(4, Name = @"baid")] + public uint Baid + { + get => __pbn__Baid.GetValueOrDefault(); + set => __pbn__Baid = value; + } + public bool ShouldSerializeBaid() => __pbn__Baid != null; + public void ResetBaid() => __pbn__Baid = null; + private uint? __pbn__Baid; + + [global::ProtoBuf.ProtoMember(5, Name = @"access_code")] + [global::System.ComponentModel.DefaultValue("")] + public string AccessCode + { + get => __pbn__AccessCode ?? ""; + set => __pbn__AccessCode = value; + } + public bool ShouldSerializeAccessCode() => __pbn__AccessCode != null; + public void ResetAccessCode() => __pbn__AccessCode = null; + private string __pbn__AccessCode; + + [global::ProtoBuf.ProtoMember(6, Name = @"is_publish")] + public bool IsPublish + { + get => __pbn__IsPublish.GetValueOrDefault(); + set => __pbn__IsPublish = value; + } + public bool ShouldSerializeIsPublish() => __pbn__IsPublish != null; + public void ResetIsPublish() => __pbn__IsPublish = null; + private bool? __pbn__IsPublish; + + [global::ProtoBuf.ProtoMember(7, Name = @"card_own_num")] + public uint CardOwnNum + { + get => __pbn__CardOwnNum.GetValueOrDefault(); + set => __pbn__CardOwnNum = value; + } + public bool ShouldSerializeCardOwnNum() => __pbn__CardOwnNum != null; + public void ResetCardOwnNum() => __pbn__CardOwnNum = null; + private uint? __pbn__CardOwnNum; + + [global::ProtoBuf.ProtoMember(8, Name = @"reg_country_id")] + [global::System.ComponentModel.DefaultValue("")] + public string RegCountryId + { + get => __pbn__RegCountryId ?? ""; + set => __pbn__RegCountryId = value; + } + public bool ShouldSerializeRegCountryId() => __pbn__RegCountryId != null; + public void ResetRegCountryId() => __pbn__RegCountryId = null; + private string __pbn__RegCountryId; + + [global::ProtoBuf.ProtoMember(9, Name = @"purpose_id")] + public uint PurposeId + { + get => __pbn__PurposeId.GetValueOrDefault(); + set => __pbn__PurposeId = value; + } + public bool ShouldSerializePurposeId() => __pbn__PurposeId != null; + public void ResetPurposeId() => __pbn__PurposeId = null; + private uint? __pbn__PurposeId; + + [global::ProtoBuf.ProtoMember(10, Name = @"region_id")] + public uint RegionId + { + get => __pbn__RegionId.GetValueOrDefault(); + set => __pbn__RegionId = value; + } + public bool ShouldSerializeRegionId() => __pbn__RegionId != null; + public void ResetRegionId() => __pbn__RegionId = null; + private uint? __pbn__RegionId; + + [global::ProtoBuf.ProtoMember(11, Name = @"mydon_name")] + [global::System.ComponentModel.DefaultValue("")] + public string MydonName + { + get => __pbn__MydonName ?? ""; + set => __pbn__MydonName = value; + } + public bool ShouldSerializeMydonName() => __pbn__MydonName != null; + public void ResetMydonName() => __pbn__MydonName = null; + private string __pbn__MydonName; + + [global::ProtoBuf.ProtoMember(12, Name = @"accesstoken")] + [global::System.ComponentModel.DefaultValue("")] + public string Accesstoken + { + get => __pbn__Accesstoken ?? ""; + set => __pbn__Accesstoken = value; + } + public bool ShouldSerializeAccesstoken() => __pbn__Accesstoken != null; + public void ResetAccesstoken() => __pbn__Accesstoken = null; + private string __pbn__Accesstoken; + + [global::ProtoBuf.ProtoMember(13, Name = @"content_info")] + public byte[] ContentInfo + { + get => __pbn__ContentInfo; + set => __pbn__ContentInfo = value; + } + public bool ShouldSerializeContentInfo() => __pbn__ContentInfo != null; + public void ResetContentInfo() => __pbn__ContentInfo = null; + private byte[] __pbn__ContentInfo; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class UserDataRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class UserDataResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"tone_flg")] + public byte[] ToneFlg + { + get => __pbn__ToneFlg; + set => __pbn__ToneFlg = value; + } + public bool ShouldSerializeToneFlg() => __pbn__ToneFlg != null; + public void ResetToneFlg() => __pbn__ToneFlg = null; + private byte[] __pbn__ToneFlg; + + [global::ProtoBuf.ProtoMember(3, Name = @"title_flg")] + public byte[] TitleFlg + { + get => __pbn__TitleFlg; + set => __pbn__TitleFlg = value; + } + public bool ShouldSerializeTitleFlg() => __pbn__TitleFlg != null; + public void ResetTitleFlg() => __pbn__TitleFlg = null; + private byte[] __pbn__TitleFlg; + + [global::ProtoBuf.ProtoMember(4, Name = @"release_song_flg")] + public byte[] ReleaseSongFlg + { + get => __pbn__ReleaseSongFlg; + set => __pbn__ReleaseSongFlg = value; + } + public bool ShouldSerializeReleaseSongFlg() => __pbn__ReleaseSongFlg != null; + public void ResetReleaseSongFlg() => __pbn__ReleaseSongFlg = null; + private byte[] __pbn__ReleaseSongFlg; + + [global::ProtoBuf.ProtoMember(5, Name = @"ura_release_song_flg")] + public byte[] UraReleaseSongFlg + { + get => __pbn__UraReleaseSongFlg; + set => __pbn__UraReleaseSongFlg = value; + } + public bool ShouldSerializeUraReleaseSongFlg() => __pbn__UraReleaseSongFlg != null; + public void ResetUraReleaseSongFlg() => __pbn__UraReleaseSongFlg = null; + private byte[] __pbn__UraReleaseSongFlg; + + [global::ProtoBuf.ProtoMember(6, Name = @"ary_favorite_song_no")] + public uint[] AryFavoriteSongNoes { get; set; } + + [global::ProtoBuf.ProtoMember(7, Name = @"ary_recent_song_no")] + public uint[] AryRecentSongNoes { get; set; } + + [global::ProtoBuf.ProtoMember(8, Name = @"disp_score_type")] + public uint DispScoreType + { + get => __pbn__DispScoreType.GetValueOrDefault(); + set => __pbn__DispScoreType = value; + } + public bool ShouldSerializeDispScoreType() => __pbn__DispScoreType != null; + public void ResetDispScoreType() => __pbn__DispScoreType = null; + private uint? __pbn__DispScoreType; + + [global::ProtoBuf.ProtoMember(9, Name = @"disp_level_chassis")] + public uint DispLevelChassis + { + get => __pbn__DispLevelChassis.GetValueOrDefault(); + set => __pbn__DispLevelChassis = value; + } + public bool ShouldSerializeDispLevelChassis() => __pbn__DispLevelChassis != null; + public void ResetDispLevelChassis() => __pbn__DispLevelChassis = null; + private uint? __pbn__DispLevelChassis; + + [global::ProtoBuf.ProtoMember(10, Name = @"disp_level_self")] + public uint DispLevelSelf + { + get => __pbn__DispLevelSelf.GetValueOrDefault(); + set => __pbn__DispLevelSelf = value; + } + public bool ShouldSerializeDispLevelSelf() => __pbn__DispLevelSelf != null; + public void ResetDispLevelSelf() => __pbn__DispLevelSelf = null; + private uint? __pbn__DispLevelSelf; + + [global::ProtoBuf.ProtoMember(11, Name = @"is_disp_tojiru_on")] + public bool IsDispTojiruOn + { + get => __pbn__IsDispTojiruOn.GetValueOrDefault(); + set => __pbn__IsDispTojiruOn = value; + } + public bool ShouldSerializeIsDispTojiruOn() => __pbn__IsDispTojiruOn != null; + public void ResetIsDispTojiruOn() => __pbn__IsDispTojiruOn = null; + private bool? __pbn__IsDispTojiruOn; + + [global::ProtoBuf.ProtoMember(12, Name = @"default_option_setting")] + public byte[] DefaultOptionSetting + { + get => __pbn__DefaultOptionSetting; + set => __pbn__DefaultOptionSetting = value; + } + public bool ShouldSerializeDefaultOptionSetting() => __pbn__DefaultOptionSetting != null; + public void ResetDefaultOptionSetting() => __pbn__DefaultOptionSetting = null; + private byte[] __pbn__DefaultOptionSetting; + + [global::ProtoBuf.ProtoMember(13, Name = @"notes_position", DataFormat = global::ProtoBuf.DataFormat.ZigZag)] + public int NotesPosition + { + get => __pbn__NotesPosition.GetValueOrDefault(); + set => __pbn__NotesPosition = value; + } + public bool ShouldSerializeNotesPosition() => __pbn__NotesPosition != null; + public void ResetNotesPosition() => __pbn__NotesPosition = null; + private int? __pbn__NotesPosition; + + [global::ProtoBuf.ProtoMember(14, Name = @"is_voice_on")] + public bool IsVoiceOn + { + get => __pbn__IsVoiceOn.GetValueOrDefault(); + set => __pbn__IsVoiceOn = value; + } + public bool ShouldSerializeIsVoiceOn() => __pbn__IsVoiceOn != null; + public void ResetIsVoiceOn() => __pbn__IsVoiceOn = null; + private bool? __pbn__IsVoiceOn; + + [global::ProtoBuf.ProtoMember(15, Name = @"is_skip_on")] + public bool IsSkipOn + { + get => __pbn__IsSkipOn.GetValueOrDefault(); + set => __pbn__IsSkipOn = value; + } + public bool ShouldSerializeIsSkipOn() => __pbn__IsSkipOn != null; + public void ResetIsSkipOn() => __pbn__IsSkipOn = null; + private bool? __pbn__IsSkipOn; + + [global::ProtoBuf.ProtoMember(16, Name = @"last_play_mode")] + public uint LastPlayMode + { + get => __pbn__LastPlayMode.GetValueOrDefault(); + set => __pbn__LastPlayMode = value; + } + public bool ShouldSerializeLastPlayMode() => __pbn__LastPlayMode != null; + public void ResetLastPlayMode() => __pbn__LastPlayMode = null; + private uint? __pbn__LastPlayMode; + + [global::ProtoBuf.ProtoMember(17, Name = @"difficulty_played_course")] + public uint DifficultyPlayedCourse + { + get => __pbn__DifficultyPlayedCourse.GetValueOrDefault(); + set => __pbn__DifficultyPlayedCourse = value; + } + public bool ShouldSerializeDifficultyPlayedCourse() => __pbn__DifficultyPlayedCourse != null; + public void ResetDifficultyPlayedCourse() => __pbn__DifficultyPlayedCourse = null; + private uint? __pbn__DifficultyPlayedCourse; + + [global::ProtoBuf.ProtoMember(18, Name = @"difficulty_played_star")] + public uint DifficultyPlayedStar + { + get => __pbn__DifficultyPlayedStar.GetValueOrDefault(); + set => __pbn__DifficultyPlayedStar = value; + } + public bool ShouldSerializeDifficultyPlayedStar() => __pbn__DifficultyPlayedStar != null; + public void ResetDifficultyPlayedStar() => __pbn__DifficultyPlayedStar = null; + private uint? __pbn__DifficultyPlayedStar; + + [global::ProtoBuf.ProtoMember(19, Name = @"total_credit_cnt")] + public uint TotalCreditCnt + { + get => __pbn__TotalCreditCnt.GetValueOrDefault(); + set => __pbn__TotalCreditCnt = value; + } + public bool ShouldSerializeTotalCreditCnt() => __pbn__TotalCreditCnt != null; + public void ResetTotalCreditCnt() => __pbn__TotalCreditCnt = null; + private uint? __pbn__TotalCreditCnt; + + [global::ProtoBuf.ProtoMember(20, Name = @"song_recent_cnt")] + public uint SongRecentCnt + { + get => __pbn__SongRecentCnt.GetValueOrDefault(); + set => __pbn__SongRecentCnt = value; + } + public bool ShouldSerializeSongRecentCnt() => __pbn__SongRecentCnt != null; + public void ResetSongRecentCnt() => __pbn__SongRecentCnt = null; + private uint? __pbn__SongRecentCnt; + + [global::ProtoBuf.ProtoMember(21, Name = @"is_challengecompe")] + public bool IsChallengecompe + { + get => __pbn__IsChallengecompe.GetValueOrDefault(); + set => __pbn__IsChallengecompe = value; + } + public bool ShouldSerializeIsChallengecompe() => __pbn__IsChallengecompe != null; + public void ResetIsChallengecompe() => __pbn__IsChallengecompe = null; + private bool? __pbn__IsChallengecompe; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class PlayResultRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"baid_conf", IsRequired = true)] + public uint BaidConf { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"chassis_id_conf", IsRequired = true)] + public string ChassisIdConf { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"shop_id_conf", IsRequired = true)] + public string ShopIdConf { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"play_datetime_conf", IsRequired = true)] + public string PlayDatetimeConf { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"playresult_data", IsRequired = true)] + public byte[] PlayresultData { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class PlayResultResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class PlayResultDataRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"play_datetime", IsRequired = true)] + public string PlayDatetime { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"is_right", IsRequired = true)] + public bool IsRight { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"card_type", IsRequired = true)] + public uint CardType { get; set; } + + [global::ProtoBuf.ProtoMember(7, Name = @"is_two_players", IsRequired = true)] + public bool IsTwoPlayers { get; set; } + + [global::ProtoBuf.ProtoMember(8, Name = @"ary_stage_info")] + public global::System.Collections.Generic.List AryStageInfoes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(9, Name = @"release_song_no")] + public uint[] ReleaseSongNoes { get; set; } + + [global::ProtoBuf.ProtoMember(10, Name = @"ura_release_song_no")] + public uint[] UraReleaseSongNoes { get; set; } + + [global::ProtoBuf.ProtoMember(11, Name = @"get_tone_no")] + public uint[] GetToneNoes { get; set; } + + [global::ProtoBuf.ProtoMember(12, Name = @"get_costume_no_1")] + public uint[] GetCostumeNo1s { get; set; } + + [global::ProtoBuf.ProtoMember(13, Name = @"get_costume_no_2")] + public uint[] GetCostumeNo2s { get; set; } + + [global::ProtoBuf.ProtoMember(14, Name = @"get_costume_no_3")] + public uint[] GetCostumeNo3s { get; set; } + + [global::ProtoBuf.ProtoMember(15, Name = @"get_costume_no_4")] + public uint[] GetCostumeNo4s { get; set; } + + [global::ProtoBuf.ProtoMember(16, Name = @"get_costume_no_5")] + public uint[] GetCostumeNo5s { get; set; } + + [global::ProtoBuf.ProtoMember(17, Name = @"get_title_no")] + public uint[] GetTitleNoes { get; set; } + + [global::ProtoBuf.ProtoMember(18, Name = @"get_generic_info_no")] + public uint[] GetGenericInfoNoes { get; set; } + + [global::ProtoBuf.ProtoMember(19, Name = @"ary_play_costume", IsRequired = true)] + public CostumeData AryPlayCostume { get; set; } + + [global::ProtoBuf.ProtoMember(20, Name = @"ary_current_costume", IsRequired = true)] + public CostumeData AryCurrentCostume { get; set; } + + [global::ProtoBuf.ProtoMember(21, Name = @"title")] + [global::System.ComponentModel.DefaultValue("")] + public string Title + { + get => __pbn__Title ?? ""; + set => __pbn__Title = value; + } + public bool ShouldSerializeTitle() => __pbn__Title != null; + public void ResetTitle() => __pbn__Title = null; + private string __pbn__Title; + + [global::ProtoBuf.ProtoMember(22, Name = @"titleplate_id")] + public uint TitleplateId + { + get => __pbn__TitleplateId.GetValueOrDefault(); + set => __pbn__TitleplateId = value; + } + public bool ShouldSerializeTitleplateId() => __pbn__TitleplateId != null; + public void ResetTitleplateId() => __pbn__TitleplateId = null; + private uint? __pbn__TitleplateId; + + [global::ProtoBuf.ProtoMember(23, Name = @"play_mode", IsRequired = true)] + public uint PlayMode { get; set; } + + [global::ProtoBuf.ProtoMember(24, Name = @"area_code", IsRequired = true)] + public uint AreaCode { get; set; } + + [global::ProtoBuf.ProtoMember(25, Name = @"reserved", IsRequired = true)] + public byte[] Reserved { get; set; } + + [global::ProtoBuf.ProtoMember(26, Name = @"tournament_mode")] + public uint TournamentMode + { + get => __pbn__TournamentMode.GetValueOrDefault(); + set => __pbn__TournamentMode = value; + } + public bool ShouldSerializeTournamentMode() => __pbn__TournamentMode != null; + public void ResetTournamentMode() => __pbn__TournamentMode = null; + private uint? __pbn__TournamentMode; + + [global::ProtoBuf.ProtoMember(27, Name = @"accesstoken")] + [global::System.ComponentModel.DefaultValue("")] + public string Accesstoken + { + get => __pbn__Accesstoken ?? ""; + set => __pbn__Accesstoken = value; + } + public bool ShouldSerializeAccesstoken() => __pbn__Accesstoken != null; + public void ResetAccesstoken() => __pbn__Accesstoken = null; + private string __pbn__Accesstoken; + + [global::ProtoBuf.ProtoMember(28, Name = @"content_info")] + public byte[] ContentInfo + { + get => __pbn__ContentInfo; + set => __pbn__ContentInfo = value; + } + public bool ShouldSerializeContentInfo() => __pbn__ContentInfo != null; + public void ResetContentInfo() => __pbn__ContentInfo = null; + private byte[] __pbn__ContentInfo; + + [global::ProtoBuf.ProtoMember(29, Name = @"difficulty_played_course")] + public uint DifficultyPlayedCourse + { + get => __pbn__DifficultyPlayedCourse.GetValueOrDefault(); + set => __pbn__DifficultyPlayedCourse = value; + } + public bool ShouldSerializeDifficultyPlayedCourse() => __pbn__DifficultyPlayedCourse != null; + public void ResetDifficultyPlayedCourse() => __pbn__DifficultyPlayedCourse = null; + private uint? __pbn__DifficultyPlayedCourse; + + [global::ProtoBuf.ProtoMember(30, Name = @"difficulty_played_star")] + public uint DifficultyPlayedStar + { + get => __pbn__DifficultyPlayedStar.GetValueOrDefault(); + set => __pbn__DifficultyPlayedStar = value; + } + public bool ShouldSerializeDifficultyPlayedStar() => __pbn__DifficultyPlayedStar != null; + public void ResetDifficultyPlayedStar() => __pbn__DifficultyPlayedStar = null; + private uint? __pbn__DifficultyPlayedStar; + + [global::ProtoBuf.ProtoMember(31, Name = @"ai_update_perfdata")] + public UpdateAiPerfData AiUpdatePerfdata { get; set; } + + [global::ProtoBuf.ProtoMember(32, Name = @"ai_update_rank")] + public UpdateAiRankData AiUpdateRank { get; set; } + + [global::ProtoBuf.ProtoContract()] + public partial class StageData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"song_no", IsRequired = true)] + public uint SongNo { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"level", IsRequired = true)] + public uint Level { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"stage_mode", IsRequired = true)] + public uint StageMode { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"play_result", IsRequired = true)] + public uint PlayResult { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"play_score", IsRequired = true)] + public uint PlayScore { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"score_rate", IsRequired = true)] + public uint ScoreRate { get; set; } + + [global::ProtoBuf.ProtoMember(7, Name = @"score_rank", IsRequired = true)] + public uint ScoreRank { get; set; } + + [global::ProtoBuf.ProtoMember(8, Name = @"good_cnt", IsRequired = true)] + public uint GoodCnt { get; set; } + + [global::ProtoBuf.ProtoMember(9, Name = @"ok_cnt", IsRequired = true)] + public uint OkCnt { get; set; } + + [global::ProtoBuf.ProtoMember(10, Name = @"ng_cnt", IsRequired = true)] + public uint NgCnt { get; set; } + + [global::ProtoBuf.ProtoMember(11, Name = @"pound_cnt", IsRequired = true)] + public uint PoundCnt { get; set; } + + [global::ProtoBuf.ProtoMember(12, Name = @"combo_cnt", IsRequired = true)] + public uint ComboCnt { get; set; } + + [global::ProtoBuf.ProtoMember(13, Name = @"option_flg", IsRequired = true)] + public byte[] OptionFlg { get; set; } + + [global::ProtoBuf.ProtoMember(14, Name = @"tone_flg", IsRequired = true)] + public byte[] ToneFlg { get; set; } + + [global::ProtoBuf.ProtoMember(15, Name = @"notes_position", DataFormat = global::ProtoBuf.DataFormat.ZigZag, IsRequired = true)] + public int NotesPosition { get; set; } + + [global::ProtoBuf.ProtoMember(16, Name = @"is_voice_on", IsRequired = true)] + public bool IsVoiceOn { get; set; } + + [global::ProtoBuf.ProtoMember(17, Name = @"is_skip_on", IsRequired = true)] + public bool IsSkipOn { get; set; } + + [global::ProtoBuf.ProtoMember(18, Name = @"is_skip_use", IsRequired = true)] + public bool IsSkipUse { get; set; } + + [global::ProtoBuf.ProtoMember(19, Name = @"support_level", IsRequired = true)] + public uint SupportLevel { get; set; } + + [global::ProtoBuf.ProtoMember(20, Name = @"ary_challenge_id")] + public global::System.Collections.Generic.List AryChallengeIds { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(21, Name = @"ary_user_compe_id")] + public global::System.Collections.Generic.List AryUserCompeIds { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(22, Name = @"ary_bng_compe_id")] + public global::System.Collections.Generic.List AryBngCompeIds { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(23, Name = @"music_categ", IsRequired = true)] + public uint MusicCateg { get; set; } + + [global::ProtoBuf.ProtoMember(24, Name = @"is_favorite", IsRequired = true)] + public bool IsFavorite { get; set; } + + [global::ProtoBuf.ProtoMember(25, Name = @"is_recent", IsRequired = true)] + public bool IsRecent { get; set; } + + [global::ProtoBuf.ProtoMember(26, Name = @"selected_folder_id", IsRequired = true)] + public uint SelectedFolderId { get; set; } + + [global::ProtoBuf.ProtoMember(27, Name = @"is_papamama", IsRequired = true)] + public bool IsPapamama { get; set; } + + [global::ProtoBuf.ProtoMember(28, Name = @"star_level", IsRequired = true)] + public uint StarLevel { get; set; } + + [global::ProtoBuf.ProtoMember(29, Name = @"ai_stagedata")] + public AiStageData AiStagedata { get; set; } + + [global::ProtoBuf.ProtoContract()] + public partial class ResultcompeData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"compe_id", IsRequired = true)] + public uint CompeId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"track_no", IsRequired = true)] + public uint TrackNo { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class AiStageData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"is_win", IsRequired = true)] + public bool IsWin { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"sd_certified_level_id", IsRequired = true)] + public uint SdCertifiedLevelId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"ary_section_data")] + public global::System.Collections.Generic.List ArySectionDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class AiStageSectionData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"is_win", IsRequired = true)] + public bool IsWin { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"good_cnt", IsRequired = true)] + public uint GoodCnt { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"ok_cnt", IsRequired = true)] + public uint OkCnt { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"ng_cnt", IsRequired = true)] + public uint NgCnt { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"pound_cnt", IsRequired = true)] + public uint PoundCnt { get; set; } + + } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CostumeData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"costume_1")] + public uint Costume1 + { + get => __pbn__Costume1.GetValueOrDefault(); + set => __pbn__Costume1 = value; + } + public bool ShouldSerializeCostume1() => __pbn__Costume1 != null; + public void ResetCostume1() => __pbn__Costume1 = null; + private uint? __pbn__Costume1; + + [global::ProtoBuf.ProtoMember(2, Name = @"costume_2")] + public uint Costume2 + { + get => __pbn__Costume2.GetValueOrDefault(); + set => __pbn__Costume2 = value; + } + public bool ShouldSerializeCostume2() => __pbn__Costume2 != null; + public void ResetCostume2() => __pbn__Costume2 = null; + private uint? __pbn__Costume2; + + [global::ProtoBuf.ProtoMember(3, Name = @"costume_3")] + public uint Costume3 + { + get => __pbn__Costume3.GetValueOrDefault(); + set => __pbn__Costume3 = value; + } + public bool ShouldSerializeCostume3() => __pbn__Costume3 != null; + public void ResetCostume3() => __pbn__Costume3 = null; + private uint? __pbn__Costume3; + + [global::ProtoBuf.ProtoMember(4, Name = @"costume_4")] + public uint Costume4 + { + get => __pbn__Costume4.GetValueOrDefault(); + set => __pbn__Costume4 = value; + } + public bool ShouldSerializeCostume4() => __pbn__Costume4 != null; + public void ResetCostume4() => __pbn__Costume4 = null; + private uint? __pbn__Costume4; + + [global::ProtoBuf.ProtoMember(5, Name = @"costume_5")] + public uint Costume5 + { + get => __pbn__Costume5.GetValueOrDefault(); + set => __pbn__Costume5 = value; + } + public bool ShouldSerializeCostume5() => __pbn__Costume5 != null; + public void ResetCostume5() => __pbn__Costume5 = null; + private uint? __pbn__Costume5; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class UpdateAiPerfData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"input_median", DataFormat = global::ProtoBuf.DataFormat.ZigZag, IsRequired = true)] + public int InputMedian { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"input_variance", IsRequired = true)] + public uint InputVariance { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class UpdateAiRankData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"rank_id", IsRequired = true)] + public uint RankId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"win_point", IsRequired = true)] + public uint WinPoint { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"certified_level_id", IsRequired = true)] + public uint CertifiedLevelId { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"ary_winnings_data")] + public global::System.Collections.Generic.List AryWinningsDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class UpdateAiWinningsData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"level_id", IsRequired = true)] + public uint LevelId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"winnings", IsRequired = true)] + public uint Winnings { get; set; } + + } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class SelfBestRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"level")] + public uint Level + { + get => __pbn__Level.GetValueOrDefault(); + set => __pbn__Level = value; + } + public bool ShouldSerializeLevel() => __pbn__Level != null; + public void ResetLevel() => __pbn__Level = null; + private uint? __pbn__Level; + + [global::ProtoBuf.ProtoMember(5, Name = @"ary_song_no")] + public uint[] ArySongNoes { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class SelfBestResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"level")] + public uint Level + { + get => __pbn__Level.GetValueOrDefault(); + set => __pbn__Level = value; + } + public bool ShouldSerializeLevel() => __pbn__Level != null; + public void ResetLevel() => __pbn__Level = null; + private uint? __pbn__Level; + + [global::ProtoBuf.ProtoMember(3, Name = @"ary_selfbest_score")] + public global::System.Collections.Generic.List ArySelfbestScores { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class SelfBestData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"song_no", IsRequired = true)] + public uint SongNo { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"self_best_score", IsRequired = true)] + public uint SelfBestScore { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"self_best_score_rate", IsRequired = true)] + public uint SelfBestScoreRate { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"ura_best_score", IsRequired = true)] + public uint UraBestScore { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"ura_best_score_rate", IsRequired = true)] + public uint UraBestScoreRate { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CrownsDataRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class CrownsDataResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"crown_flg")] + public byte[] CrownFlg + { + get => __pbn__CrownFlg; + set => __pbn__CrownFlg = value; + } + public bool ShouldSerializeCrownFlg() => __pbn__CrownFlg != null; + public void ResetCrownFlg() => __pbn__CrownFlg = null; + private byte[] __pbn__CrownFlg; + + [global::ProtoBuf.ProtoMember(3, Name = @"dondaful_crown_flg")] + public byte[] DondafulCrownFlg + { + get => __pbn__DondafulCrownFlg; + set => __pbn__DondafulCrownFlg = value; + } + public bool ShouldSerializeDondafulCrownFlg() => __pbn__DondafulCrownFlg != null; + public void ResetDondafulCrownFlg() => __pbn__DondafulCrownFlg = null; + private byte[] __pbn__DondafulCrownFlg; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class ChallengeCompeRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class ChallengeCompeResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"ary_challenge_stat")] + public global::System.Collections.Generic.List AryChallengeStats { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3, Name = @"ary_user_compe_stat")] + public global::System.Collections.Generic.List AryUserCompeStats { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(4, Name = @"ary_bng_compe_stat")] + public global::System.Collections.Generic.List AryBngCompeStats { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class CompeData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"compe_id", IsRequired = true)] + public uint CompeId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"ary_track_stat")] + public global::System.Collections.Generic.List AryTrackStats { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class TracksData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"song_no", IsRequired = true)] + public uint SongNo { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"level", IsRequired = true)] + public uint Level { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"option_flg", IsRequired = true)] + public byte[] OptionFlg { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"high_score", IsRequired = true)] + public uint HighScore { get; set; } + + } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetAiDataRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetAiDataResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"played_song_flag")] + public byte[] PlayedSongFlag + { + get => __pbn__PlayedSongFlag; + set => __pbn__PlayedSongFlag = value; + } + public bool ShouldSerializePlayedSongFlag() => __pbn__PlayedSongFlag != null; + public void ResetPlayedSongFlag() => __pbn__PlayedSongFlag = null; + private byte[] __pbn__PlayedSongFlag; + + [global::ProtoBuf.ProtoMember(3, Name = @"total_winnings")] + public uint TotalWinnings + { + get => __pbn__TotalWinnings.GetValueOrDefault(); + set => __pbn__TotalWinnings = value; + } + public bool ShouldSerializeTotalWinnings() => __pbn__TotalWinnings != null; + public void ResetTotalWinnings() => __pbn__TotalWinnings = null; + private uint? __pbn__TotalWinnings; + + [global::ProtoBuf.ProtoMember(4)] + public AiPerfData ai_perf_data { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"ai_record_data")] + public AiRankData AiRecordData { get; set; } + + [global::ProtoBuf.ProtoContract()] + public partial class AiPerfData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"input_median", DataFormat = global::ProtoBuf.DataFormat.ZigZag, IsRequired = true)] + public int InputMedian { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"input_variance", IsRequired = true)] + public uint InputVariance { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class AiRankData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"rank_id", IsRequired = true)] + public uint RankId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"win_point", IsRequired = true)] + public uint WinPoint { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"certified_level_id", IsRequired = true)] + public uint CertifiedLevelId { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"ary_winnings_data")] + public global::System.Collections.Generic.List AryWinningsDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class AiWinningsData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"level_id", IsRequired = true)] + public uint LevelId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"winnings", IsRequired = true)] + public uint Winnings { get; set; } + + } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetAiScoreRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"song_no", IsRequired = true)] + public uint SongNo { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"level", IsRequired = true)] + public uint Level { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetAiScoreResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"ary_best_section_data")] + public global::System.Collections.Generic.List AryBestSectionDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class AiBestSectionData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"section_no", IsRequired = true)] + public uint SectionNo { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"good_cnt", IsRequired = true)] + public uint GoodCnt { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"ok_cnt", IsRequired = true)] + public uint OkCnt { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"ng_cnt", IsRequired = true)] + public uint NgCnt { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"pound_cnt", IsRequired = true)] + public uint PoundCnt { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetTokenCountRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class GetTokenCountResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"ary_token_count_data")] + public global::System.Collections.Generic.List AryTokenCountDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class TokenCountData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"token_id", IsRequired = true)] + public uint TokenId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"token_count", DataFormat = global::ProtoBuf.DataFormat.ZigZag, IsRequired = true)] + public int TokenCount { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class AddTokenCountRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"ary_add_token_count_data")] + public global::System.Collections.Generic.List AryAddTokenCountDatas { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class AddTokenCountData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"token_id", IsRequired = true)] + public uint TokenId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"add_token_count", DataFormat = global::ProtoBuf.DataFormat.ZigZag, IsRequired = true)] + public int AddTokenCount { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class AddTokenCountResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class SongPurchaseRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"song_no", IsRequired = true)] + public uint SongNo { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"token_id", IsRequired = true)] + public uint TokenId { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"price", IsRequired = true)] + public uint Price { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class SongPurchaseResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"token_count", DataFormat = global::ProtoBuf.DataFormat.ZigZag)] + public int TokenCount + { + get => __pbn__TokenCount.GetValueOrDefault(); + set => __pbn__TokenCount = value; + } + public bool ShouldSerializeTokenCount() => __pbn__TokenCount != null; + public void ResetTokenCount() => __pbn__TokenCount = null; + private int? __pbn__TokenCount; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class HeadClerk2Request : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"current_place_id")] + [global::System.ComponentModel.DefaultValue("")] + public string CurrentPlaceId + { + get => __pbn__CurrentPlaceId ?? ""; + set => __pbn__CurrentPlaceId = value; + } + public bool ShouldSerializeCurrentPlaceId() => __pbn__CurrentPlaceId != null; + public void ResetCurrentPlaceId() => __pbn__CurrentPlaceId = null; + private string __pbn__CurrentPlaceId; + + [global::ProtoBuf.ProtoMember(4, Name = @"ary_play_info")] + public global::System.Collections.Generic.List AryPlayInfoes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class PlayData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"net_id", IsRequired = true)] + public string NetId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"played_at", IsRequired = true)] + public string PlayedAt { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"is_right", IsRequired = true)] + public bool IsRight { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"place_id", IsRequired = true)] + public string PlaceId { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"type")] + public uint Type + { + get => __pbn__Type.GetValueOrDefault(); + set => __pbn__Type = value; + } + public bool ShouldSerializeType() => __pbn__Type != null; + public void ResetType() => __pbn__Type = null; + private uint? __pbn__Type; + + [global::ProtoBuf.ProtoMember(7, Name = @"amount")] + public uint Amount + { + get => __pbn__Amount.GetValueOrDefault(); + set => __pbn__Amount = value; + } + public bool ShouldSerializeAmount() => __pbn__Amount != null; + public void ResetAmount() => __pbn__Amount = null; + private uint? __pbn__Amount; + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class HeadClerk2Response : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class RewardcardcheckRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"device_type", IsRequired = true)] + public uint DeviceType { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"access_code", IsRequired = true)] + public string AccessCode { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"chip_id", IsRequired = true)] + public string ChipId { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"country_id", IsRequired = true)] + public string CountryId { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class RewardcardcheckResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"baid")] + public uint Baid + { + get => __pbn__Baid.GetValueOrDefault(); + set => __pbn__Baid = value; + } + public bool ShouldSerializeBaid() => __pbn__Baid != null; + public void ResetBaid() => __pbn__Baid = null; + private uint? __pbn__Baid; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class RewardexecutionRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"baid", IsRequired = true)] + public uint Baid { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"release_song_no")] + public uint[] ReleaseSongNoes { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"get_tone_no")] + public uint[] GetToneNoes { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"get_costume_no_1")] + public uint[] GetCostumeNo1s { get; set; } + + [global::ProtoBuf.ProtoMember(7, Name = @"get_costume_no_2")] + public uint[] GetCostumeNo2s { get; set; } + + [global::ProtoBuf.ProtoMember(8, Name = @"get_costume_no_3")] + public uint[] GetCostumeNo3s { get; set; } + + [global::ProtoBuf.ProtoMember(9, Name = @"get_costume_no_4")] + public uint[] GetCostumeNo4s { get; set; } + + [global::ProtoBuf.ProtoMember(10, Name = @"get_costume_no_5")] + public uint[] GetCostumeNo5s { get; set; } + + [global::ProtoBuf.ProtoMember(11, Name = @"get_title_no")] + public uint[] GetTitleNoes { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class RewardexecutionResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + } + +} + +#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +#endregion diff --git a/TaikoLocalServer/Models/VsInterface.cs b/TaikoLocalServer/Models/VsInterface.cs new file mode 100644 index 0000000..ec218d9 --- /dev/null +++ b/TaikoLocalServer/Models/VsInterface.cs @@ -0,0 +1,258 @@ +// +// This file was generated by a tool; you should avoid making direct changes. +// Consider using 'partial classes' to extend these types +// Input: my.proto +// + +#region Designer generated code +#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +namespace taiko.vsinterface +{ + + [global::ProtoBuf.ProtoContract()] + public partial class StartupAuthRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"usbmem_key")] + [global::System.ComponentModel.DefaultValue("")] + public string UsbmemKey + { + get => __pbn__UsbmemKey ?? ""; + set => __pbn__UsbmemKey = value; + } + public bool ShouldSerializeUsbmemKey() => __pbn__UsbmemKey != null; + public void ResetUsbmemKey() => __pbn__UsbmemKey = null; + private string __pbn__UsbmemKey; + + [global::ProtoBuf.ProtoMember(3, Name = @"hdd_ver", IsRequired = true)] + public uint HddVer { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"usbmem_ver")] + public uint UsbmemVer + { + get => __pbn__UsbmemVer.GetValueOrDefault(); + set => __pbn__UsbmemVer = value; + } + public bool ShouldSerializeUsbmemVer() => __pbn__UsbmemVer != null; + public void ResetUsbmemVer() => __pbn__UsbmemVer = null; + private uint? __pbn__UsbmemVer; + + [global::ProtoBuf.ProtoMember(5, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"rack_id")] + [global::System.ComponentModel.DefaultValue("")] + public string RackId + { + get => __pbn__RackId ?? ""; + set => __pbn__RackId = value; + } + public bool ShouldSerializeRackId() => __pbn__RackId != null; + public void ResetRackId() => __pbn__RackId = null; + private string __pbn__RackId; + + [global::ProtoBuf.ProtoMember(7, Name = @"country_id")] + [global::System.ComponentModel.DefaultValue("")] + public string CountryId + { + get => __pbn__CountryId ?? ""; + set => __pbn__CountryId = value; + } + public bool ShouldSerializeCountryId() => __pbn__CountryId != null; + public void ResetCountryId() => __pbn__CountryId = null; + private string __pbn__CountryId; + + [global::ProtoBuf.ProtoMember(8, Name = @"ary_operation_info")] + public global::System.Collections.Generic.List AryOperationInfoes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class OperationData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"key_data", IsRequired = true)] + public uint KeyData { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"value_data", IsRequired = true)] + public byte[] ValueData { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class StartupAuthResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"ary_movie_info")] + public global::System.Collections.Generic.List AryMovieInfoes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoMember(3, Name = @"ary_operation_info")] + public global::System.Collections.Generic.List AryOperationInfoes { get; } = new global::System.Collections.Generic.List(); + + [global::ProtoBuf.ProtoContract()] + public partial class MovieData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"movie_id", IsRequired = true)] + public uint MovieId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"enable_days", IsRequired = true)] + public uint EnableDays { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class OperationData : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"key_data", IsRequired = true)] + public uint KeyData { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"value_data", IsRequired = true)] + public byte[] ValueData { get; set; } + + } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class VerupAuthRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"usbmem_key", IsRequired = true)] + public string UsbmemKey { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"hdd_ver", IsRequired = true)] + public uint HddVer { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"usbmem_ver", IsRequired = true)] + public uint UsbmemVer { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"rack_id")] + [global::System.ComponentModel.DefaultValue("")] + public string RackId + { + get => __pbn__RackId ?? ""; + set => __pbn__RackId = value; + } + public bool ShouldSerializeRackId() => __pbn__RackId != null; + public void ResetRackId() => __pbn__RackId = null; + private string __pbn__RackId; + + [global::ProtoBuf.ProtoMember(7, Name = @"country_id")] + [global::System.ComponentModel.DefaultValue("")] + public string CountryId + { + get => __pbn__CountryId ?? ""; + set => __pbn__CountryId = value; + } + public bool ShouldSerializeCountryId() => __pbn__CountryId != null; + public void ResetCountryId() => __pbn__CountryId = null; + private string __pbn__CountryId; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class VerupAuthResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + } + + [global::ProtoBuf.ProtoContract()] + public partial class VerupCompleteRequest : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"chassis_id", IsRequired = true)] + public string ChassisId { get; set; } + + [global::ProtoBuf.ProtoMember(2, Name = @"usbmem_key", IsRequired = true)] + public string UsbmemKey { get; set; } + + [global::ProtoBuf.ProtoMember(3, Name = @"hdd_ver", IsRequired = true)] + public uint HddVer { get; set; } + + [global::ProtoBuf.ProtoMember(4, Name = @"usbmem_ver", IsRequired = true)] + public uint UsbmemVer { get; set; } + + [global::ProtoBuf.ProtoMember(5, Name = @"shop_id", IsRequired = true)] + public string ShopId { get; set; } + + [global::ProtoBuf.ProtoMember(6, Name = @"rack_id")] + [global::System.ComponentModel.DefaultValue("")] + public string RackId + { + get => __pbn__RackId ?? ""; + set => __pbn__RackId = value; + } + public bool ShouldSerializeRackId() => __pbn__RackId != null; + public void ResetRackId() => __pbn__RackId = null; + private string __pbn__RackId; + + [global::ProtoBuf.ProtoMember(7, Name = @"country_id")] + [global::System.ComponentModel.DefaultValue("")] + public string CountryId + { + get => __pbn__CountryId ?? ""; + set => __pbn__CountryId = value; + } + public bool ShouldSerializeCountryId() => __pbn__CountryId != null; + public void ResetCountryId() => __pbn__CountryId = null; + private string __pbn__CountryId; + + } + + [global::ProtoBuf.ProtoContract()] + public partial class VerupCompleteResponse : global::ProtoBuf.IExtensible + { + private global::ProtoBuf.IExtension __pbn__extensionData; + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) + => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing); + + [global::ProtoBuf.ProtoMember(1, Name = @"result", IsRequired = true)] + public uint Result { get; set; } + + } + +} + +#pragma warning restore CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192 +#endregion diff --git a/TaikoLocalServer/Program.cs b/TaikoLocalServer/Program.cs new file mode 100644 index 0000000..821f472 --- /dev/null +++ b/TaikoLocalServer/Program.cs @@ -0,0 +1,21 @@ +using Microsoft.AspNetCore.HttpOverrides; +var builder = WebApplication.CreateBuilder(args); + + +// Add services to the container. + +builder.Services.AddControllers().AddProtoBufNet(); +// builder.Services.AddHttpLogging(options => op); + +var app = builder.Build(); +app.UseForwardedHeaders(new ForwardedHeadersOptions +{ + ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto +}); + +app.UseHttpLogging(); +app.MapControllers(); + +app.MapGet("/", () => "Hello world"); + +app.Run(); \ No newline at end of file diff --git a/TaikoLocalServer/Properties/launchSettings.json b/TaikoLocalServer/Properties/launchSettings.json new file mode 100644 index 0000000..eaf9c09 --- /dev/null +++ b/TaikoLocalServer/Properties/launchSettings.json @@ -0,0 +1,31 @@ +{ + "$schema": "https://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:40332", + "sslPort": 44396 + } + }, + "profiles": { + "TaikoLocalServer": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "launchUrl": "swagger", + "applicationUrl": "https://localhost:7232;http://localhost:5090", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "launchUrl": "swagger", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/TaikoLocalServer/TaikoLocalServer.csproj b/TaikoLocalServer/TaikoLocalServer.csproj new file mode 100644 index 0000000..2c342a7 --- /dev/null +++ b/TaikoLocalServer/TaikoLocalServer.csproj @@ -0,0 +1,23 @@ + + + + net6.0 + enable + enable + + + + + + + + + + + + + PreserveNewest + + + + diff --git a/TaikoLocalServer/appsettings.Development.json b/TaikoLocalServer/appsettings.Development.json new file mode 100644 index 0000000..3e1a225 --- /dev/null +++ b/TaikoLocalServer/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Information" + } + } +} diff --git a/TaikoLocalServer/appsettings.json b/TaikoLocalServer/appsettings.json new file mode 100644 index 0000000..3573228 --- /dev/null +++ b/TaikoLocalServer/appsettings.json @@ -0,0 +1,32 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + "Kestrel": { + "Endpoints": { + "All.Net": { + "Url": "http://0.0.0.0:80" + }, + "Mucha": { + "Url": "https://0.0.0.0:10122" + }, + "VsInterface": { + "Url": "https://0.0.0.0:54430" + }, + "Game": { + "Url": "https://0.0.0.0:54431" + } + } + }, + "Certificates": { + "Default": { + "Path": "Certificates/cert.pfx", + "Password": "", + "AllowInvalid": true + } + } +}