feat(battle-engine): copy-loop closure to 3282 files (member-surface frontier)
This commit is contained in:
25
SVSim.BattleEngine/Engine/Cute/PublistTransitionCode.cs
Normal file
25
SVSim.BattleEngine/Engine/Cute/PublistTransitionCode.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace Cute;
|
||||
|
||||
public class PublistTransitionCode : NetworkTask
|
||||
{
|
||||
public class Email : PostParams
|
||||
{
|
||||
public string password { get; set; }
|
||||
}
|
||||
|
||||
private CuteNetworkDefine.ApiType apiType = CuteNetworkDefine.ApiType.GetTransitionCode;
|
||||
|
||||
public override string Url => $"{CustomPreference.GetApplicationServerURL()}{CuteNetworkDefine.ApiUrlList[apiType]}";
|
||||
|
||||
public void SetParameter(string password)
|
||||
{
|
||||
Email email = new Email();
|
||||
email.password = password;
|
||||
base.Params = email;
|
||||
}
|
||||
|
||||
protected override int Parse()
|
||||
{
|
||||
return base.Parse();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user