TapLogin-Unity/Mobile/Runtime/TapLoginWrapper.cs

19 lines
504 B
C#
Raw Normal View History

2023-10-24 16:01:15 +08:00
using System.Collections.Generic;
using TapTap.Common;
namespace TapTap.Login.Mobile
{
public class TapLoginWrapper
{
public string Wrapper;
public int LoginCallbackCode;
public TapLoginWrapper(string json)
{
var dic = Json.Deserialize(json) as Dictionary<string, object>;
Wrapper = SafeDictionary.GetValue<string>(dic, "wrapper");
LoginCallbackCode = SafeDictionary.GetValue<int>(dic, "loginCallbackCode");
}
}
}