using System; using PlayFab; using UnityEngine; using UnityEngine.SceneManagement; // Token: 0x020000AD RID: 173 public class banned : MonoBehaviour { // Token: 0x06000345 RID: 837 RVA: 0x000174E5 File Offset: 0x000156E5 private void Start() { base.InvokeRepeating("checkifPlayerBanned", 0.1f, 60f); } // Token: 0x06000346 RID: 838 RVA: 0x0001751D File Offset: 0x0001571D private void checkifPlayerBanned() { PlayFabClientAPI.GetUserData(null, null, delegate (PlayFabError error) { if (error.Error == PlayFabErrorCode.AccountBanned) { Application.Quit(); } }, null, null); } }