Updates
This commit is contained in:
18
SVSim.EmulatedEntrypoint/Models/Dtos/DataHeaders.cs
Normal file
18
SVSim.EmulatedEntrypoint/Models/Dtos/DataHeaders.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DataHeaders
|
||||
{
|
||||
[Key("short_udid")]
|
||||
public int ShortUdid { get; set; }
|
||||
[Key("viewer_id")]
|
||||
public int ViewerId { get; set; }
|
||||
[Key("sid")]
|
||||
public string Sid { get; set; }
|
||||
[Key("servertime")]
|
||||
public long Servertime { get; set; }
|
||||
[Key("result_code")]
|
||||
public int ResultCode { get; set; }
|
||||
}
|
||||
12
SVSim.EmulatedEntrypoint/Models/Dtos/DataWrapper.cs
Normal file
12
SVSim.EmulatedEntrypoint/Models/Dtos/DataWrapper.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
|
||||
[MessagePackObject]
|
||||
public class DataWrapper<T>
|
||||
{
|
||||
[Key("data_headers")]
|
||||
public DataHeaders DataHeaders { get; set; }
|
||||
[Key("data")]
|
||||
public T Data { get; set; }
|
||||
}
|
||||
14
SVSim.EmulatedEntrypoint/Models/Dtos/Requests/BaseRequest.cs
Normal file
14
SVSim.EmulatedEntrypoint/Models/Dtos/Requests/BaseRequest.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests;
|
||||
|
||||
[MessagePackObject]
|
||||
public abstract class BaseRequest
|
||||
{
|
||||
[Key("viewer_id")]
|
||||
public string ViewerId { get; set; }
|
||||
[Key("steam_id")]
|
||||
public long SteamId { get; set; }
|
||||
[Key("steam_session_ticket")]
|
||||
public string SteamSessionTicket { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests;
|
||||
|
||||
[MessagePackObject]
|
||||
public class GameStartRequest : BaseRequest
|
||||
{
|
||||
[Key("app_type")]
|
||||
public int AppType { get; set; }
|
||||
[Key("campaign_data")]
|
||||
public string CampaignData { get; set; }
|
||||
[Key("campaign_sign")]
|
||||
public string CampaignSign { get; set; }
|
||||
[Key("campaign_user")]
|
||||
public int CampaignUser { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests;
|
||||
|
||||
[MessagePackObject]
|
||||
public class SpecialTitleCheckRequest : BaseRequest
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Responses;
|
||||
|
||||
[MessagePackObject]
|
||||
public class GameStartResponse
|
||||
{
|
||||
[Key("now_viewer_id")]
|
||||
public long NowViewerId { get; set; }
|
||||
[Key("is_set_transition_password")]
|
||||
public bool IsSetTransitionPassword { get; set; }
|
||||
[Key("now_name")]
|
||||
public string NowName { get; set; }
|
||||
[Key("now_rank")]
|
||||
public Dictionary<string, string> NowRank { get; set; }
|
||||
[Key("now_tutorial_step")]
|
||||
public string NowTutorialStep { get; set; }
|
||||
[Key("transition_account_data")]
|
||||
public List<TransitionAccountData> TransitionAccountData { get; set; }
|
||||
[Key("tos_state")]
|
||||
public int TosState { get; set; }
|
||||
[Key("tos_id")]
|
||||
public int TosId { get; set; }
|
||||
[Key("policy_state")]
|
||||
public int PolicyState { get; set; }
|
||||
[Key("policy_id")]
|
||||
public int PolicyId { get; set; }
|
||||
[Key("kor_authority_id")]
|
||||
public int KorAuthorityId { get; set; }
|
||||
[Key("kor_authority_state")]
|
||||
public int KorAuthorityState { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Responses;
|
||||
|
||||
[MessagePackObject]
|
||||
public class SpecialTitleCheckResponse
|
||||
{
|
||||
[Key("title_image_id")]
|
||||
public int TitleImageId { get; set; }
|
||||
[Key("title_sound_id")]
|
||||
public int TitleSoundId { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
|
||||
|
||||
[MessagePackObject]
|
||||
public class TransitionAccountData
|
||||
{
|
||||
[Key("social_account_id")]
|
||||
public string SocialAccountId { get; set; }
|
||||
[Key("social_account_type")]
|
||||
public string SocialAccountType { get; set; }
|
||||
[Key("connected_viewer_id")]
|
||||
public string ConnectedViewerId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user