using System.Collections.Generic; using TapSDK.Core; using UnityEngine; using Newtonsoft.Json; namespace TapSDK.Compliance { public class TapTapComplianceOption: TapTapSdkBaseOptions { public static TapTapComplianceOption Config { get; set; } [JsonProperty("moduleName")] private string _moduleName = "TapTapCompliance"; [JsonIgnore] public string moduleName { get => _moduleName; } internal string clientId; public bool showSwitchAccount = false; public bool useAgeRange = true; public TapTapComplianceOption(bool useAgeRange, bool showSwitchAccount){ this.useAgeRange = useAgeRange; this.showSwitchAccount = showSwitchAccount; } public TapTapComplianceOption(){ showSwitchAccount = false; useAgeRange = true; } public Dictionary ToDict() { return new Dictionary { ["showSwitchAccount"] = showSwitchAccount, ["useAgeRange"] = useAgeRange }; } } }