1737 lines
85 KiB
C#
1737 lines
85 KiB
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
// Token: 0x020011DE RID: 4574
|
|
public class CustomUIMask : MonoBehaviour
|
|
{
|
|
// Token: 0x060271FD RID: 160253 RVA: 0x00ADD858 File Offset: 0x00ADBA58
|
|
private void BKHPHJMIDFO()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Mouse Y");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("RpcShatter");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("api/activities/charades/v1/words");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Cheers - {0}{1}");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)(-93)), 1, -94);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1544f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.BGEONIJNBJA());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060271FE RID: 160254 RVA: 0x00ADD958 File Offset: 0x00ADBB58
|
|
private float ANBJFEHPFIP()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 929f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 644f;
|
|
}
|
|
return 1620f;
|
|
}
|
|
|
|
// Token: 0x060271FF RID: 160255 RVA: 0x00ADD990 File Offset: 0x00ADBB90
|
|
private float JHCBGBNLBEE()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 386f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1793f;
|
|
}
|
|
return 605f;
|
|
}
|
|
|
|
// Token: 0x06027200 RID: 160256 RVA: 0x00ADD9C8 File Offset: 0x00ADBBC8
|
|
private float KPJODEACGNC()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 740f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 341f;
|
|
}
|
|
return 985f;
|
|
}
|
|
|
|
// Token: 0x06027201 RID: 160257 RVA: 0x00ADDA00 File Offset: 0x00ADBC00
|
|
private void KKABOKBLDGJ()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Error uploading selfie. Please try again.");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("x");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("[OnReferalIntentReciver] StringParams:kv ");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Best region found in PlayerPrefs. Connecting to: ");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)(-123)), 0, -31);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 111f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.NMDGHCNBKLD());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027202 RID: 160258 RVA: 0x00ADDB00 File Offset: 0x00ADBD00
|
|
private void FDBHMLOEHCE()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("ExternalAppPath = ");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("oldItems");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Could not invite ");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("IntegrationTest Finished");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)120), 1, -126);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 994f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.MPAKFECKBJK());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027203 RID: 160259 RVA: 0x00ADDC00 File Offset: 0x00ADBE00
|
|
private float HEKDKPPDNBK()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1664f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1683f;
|
|
}
|
|
return 1727f;
|
|
}
|
|
|
|
// Token: 0x06027204 RID: 160260 RVA: 0x00ADDC38 File Offset: 0x00ADBE38
|
|
private void FKGKJOHOGMP()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027205 RID: 160261 RVA: 0x00ADDC58 File Offset: 0x00ADBE58
|
|
private void OAGPPJEGOBC()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("[PV] unsupported codec: ");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("Ticket");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("New Step");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("_MainTex_ST");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)(-92)), 0, -180);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1899f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.BGEONIJNBJA());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027206 RID: 160262 RVA: 0x00ADDD58 File Offset: 0x00ADBF58
|
|
private float HLLAGPEBDJG()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 382f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1505f;
|
|
}
|
|
return 1805f;
|
|
}
|
|
|
|
// Token: 0x06027207 RID: 160263 RVA: 0x00ADDD90 File Offset: 0x00ADBF90
|
|
private float GEGCPABBAAC()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 55f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1895f;
|
|
}
|
|
return 1401f;
|
|
}
|
|
|
|
// Token: 0x06027208 RID: 160264 RVA: 0x00ADDDC8 File Offset: 0x00ADBFC8
|
|
private void DLHCKBDMBAF()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Unknown Error ");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("Null arguments passed to ActionEvent.Invoke()");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID(" ms");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("HTTPConnection");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)(-47)), 1, 167);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 498f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.BGEONIJNBJA());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027209 RID: 160265 RVA: 0x00ADDEC8 File Offset: 0x00ADC0C8
|
|
private void IJGOKHIFMNI()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602720A RID: 160266 RVA: 0x00ADDEE8 File Offset: 0x00ADC0E8
|
|
private void JNJDENIGAHH()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602720B RID: 160267 RVA: 0x00ADDF08 File Offset: 0x00ADC108
|
|
private float CCCMMGCGLKG()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1426f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 701f;
|
|
}
|
|
return 149f;
|
|
}
|
|
|
|
// Token: 0x0602720C RID: 160268 RVA: 0x00ADDF40 File Offset: 0x00ADC140
|
|
private float PBPBJOIDACP()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 435f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 844f;
|
|
}
|
|
return 1374f;
|
|
}
|
|
|
|
// Token: 0x0602720D RID: 160269 RVA: 0x00ADDF78 File Offset: 0x00ADC178
|
|
private float BGEONIJNBJA()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1497f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 659f;
|
|
}
|
|
return 1744f;
|
|
}
|
|
|
|
// Token: 0x0602720E RID: 160270 RVA: 0x00ADDFB0 File Offset: 0x00ADC1B0
|
|
private void IFJJPPICNGC()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602720F RID: 160271 RVA: 0x00ADDFD0 File Offset: 0x00ADC1D0
|
|
private void COIENIPFOIN()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027210 RID: 160272 RVA: 0x00ADDFF0 File Offset: 0x00ADC1F0
|
|
private void PBCGMHKELND()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Connected to nameserver.");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("JoinRandomRoom failed. In offline mode you still have to leave a room to enter another.");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("amount");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("looktarget");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)(-51)), 1, 138);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 691f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.GEGCPABBAAC());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027211 RID: 160273 RVA: 0x00ADE0F0 File Offset: 0x00ADC2F0
|
|
private void NGHJFABFAOA()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("KAhCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw==");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("\nshould be shown in your browser");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("api/images/");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("HideAllGUIs");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)61), 0, -196);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 568f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.NOJDHBPCOIC());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027212 RID: 160274 RVA: 0x00ADE1F0 File Offset: 0x00ADC3F0
|
|
private void OnDestroy()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027213 RID: 160275 RVA: 0x00ADE210 File Offset: 0x00ADC410
|
|
private void HABFGMOIDCO()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027214 RID: 160276 RVA: 0x00ADE230 File Offset: 0x00ADC430
|
|
private void FJCCGJGLMLP()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("OK");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("No player instance found in Hand Start()");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("You did not select a Hosting Type in your PhotonServerSettings. Please set it up or don't use ConnectUsingSettings().");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("BOOM!");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)116), 1, -135);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1337f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.OPPFJOCKNFN());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027215 RID: 160277 RVA: 0x00ADE330 File Offset: 0x00ADC530
|
|
private void NMOBMJGJCCC()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("-WebSocket Open!\n");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("Saved!");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("alpha");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Id");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)28), 1, 84);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1119f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.ABOAPFLFCHH());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027216 RID: 160278 RVA: 0x00ADE430 File Offset: 0x00ADC630
|
|
private void MCLMBDOBLNJ()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("ItemPackage assigned to ");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("oldPlatform");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Failed to download unlocked equipments: ");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("CSharpSocket.Disconnect()");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)102), 1, -163);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 479f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.DGMCPLBMLKC());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027217 RID: 160279 RVA: 0x00ADE530 File Offset: 0x00ADC730
|
|
private float IDEKAMJAMHC()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 843f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1683f;
|
|
}
|
|
return 1066f;
|
|
}
|
|
|
|
// Token: 0x06027218 RID: 160280 RVA: 0x00ADE568 File Offset: 0x00ADC768
|
|
private void OMMLJHFEDJA()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027219 RID: 160281 RVA: 0x00ADE588 File Offset: 0x00ADC788
|
|
private void HNEFHCDMBKK()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("ObscuredDouble:");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("sentToPlayerId");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("GC");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("RpcImageUpdated");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & BFEINGKLFGB.UI_CUTOUT), 0, -140);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 818f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.OAHLNBKLAGF());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602721A RID: 160282 RVA: 0x00ADE688 File Offset: 0x00ADC888
|
|
private float JIGONNEDBND()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 112f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 270f;
|
|
}
|
|
return 804f;
|
|
}
|
|
|
|
// Token: 0x0602721B RID: 160283 RVA: 0x00ADE6C0 File Offset: 0x00ADC8C0
|
|
private void PPOPAEBNGPC()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("utm_content");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("action");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("GetVersionAttributeOfType");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("{0}v2/deletetransient");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)73), 1, 61);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1490f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.IDEKAMJAMHC());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602721C RID: 160284 RVA: 0x00ADE7C0 File Offset: 0x00ADC9C0
|
|
private float DGMCPLBMLKC()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 913f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 154f;
|
|
}
|
|
return 700f;
|
|
}
|
|
|
|
// Token: 0x0602721D RID: 160285 RVA: 0x00ADE7F8 File Offset: 0x00ADC9F8
|
|
private float NOJDHBPCOIC()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 866f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 385f;
|
|
}
|
|
return 229f;
|
|
}
|
|
|
|
// Token: 0x0602721E RID: 160286 RVA: 0x00ADE830 File Offset: 0x00ADCA30
|
|
private float PDKANPEEHFD()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1882f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1072f;
|
|
}
|
|
return 1778f;
|
|
}
|
|
|
|
// Token: 0x0602721F RID: 160287 RVA: 0x00ADE868 File Offset: 0x00ADCA68
|
|
private void EGFGEGEDJGN()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027220 RID: 160288 RVA: 0x00ADE888 File Offset: 0x00ADCA88
|
|
private void JDBNLDPAJOC()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027221 RID: 160289 RVA: 0x00ADE8A8 File Offset: 0x00ADCAA8
|
|
private void DMPIIMLLCEB()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027222 RID: 160290 RVA: 0x00ADE8C8 File Offset: 0x00ADCAC8
|
|
private float LACHJPFICMC()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 972f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 456f;
|
|
}
|
|
return 303f;
|
|
}
|
|
|
|
// Token: 0x06027223 RID: 160291 RVA: 0x00ADE900 File Offset: 0x00ADCB00
|
|
private float IIGKOCPBPCN()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1491f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 72f;
|
|
}
|
|
return 619f;
|
|
}
|
|
|
|
// Token: 0x06027224 RID: 160292 RVA: 0x00ADE938 File Offset: 0x00ADCB38
|
|
private void FANNIHPFNCF()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027225 RID: 160293 RVA: 0x00ADE958 File Offset: 0x00ADCB58
|
|
private void MBJAEHLCMGD()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("[ACTk] WallHack Detector: can't be started since it doesn't exists in scene or not yet initialized!");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("method");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Powerup {0} instantiated by something other than Photon.");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("CS");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)(-88)), 0, 65);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 620f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.OPOGNPDBKEJ);
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027226 RID: 160294 RVA: 0x00ADEA58 File Offset: 0x00ADCC58
|
|
private void AHLMADACOLB()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("EquipmentModificationGuid");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("_MainTex");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("content-length");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("_SamplePositions");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)117), 1, 173);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1563f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.HDKJCKOGFBC());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027227 RID: 160295 RVA: 0x00ADEB58 File Offset: 0x00ADCD58
|
|
private void KPNLIAADHNJ()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Party Join");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("_Anchor");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Token");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Unable to send game invite request: ");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)42), 0, 141);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1840f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.NOJDHBPCOIC());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027228 RID: 160296 RVA: 0x00ADEC58 File Offset: 0x00ADCE58
|
|
private void EGJOBLEGKNP()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027229 RID: 160297 RVA: 0x00ADEC78 File Offset: 0x00ADCE78
|
|
private float HNIECJPAPAA()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 958f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1479f;
|
|
}
|
|
return 767f;
|
|
}
|
|
|
|
// Token: 0x0602722A RID: 160298 RVA: 0x00ADECB0 File Offset: 0x00ADCEB0
|
|
private void NGOPCBJCNJM()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("<pre style=\"font-family:Consolas;font-size:13;color:black;background:silver;\"><span style=\"color:blue;\">using</span> System;\r\n<span style=\"color:blue;\">using</span> System.Collections.Generic;\r\n\r\n<span style=\"color:blue;\">using</span> UnityEngine;\r\n<span style=\"color:blue;\">using</span> BestHTTP.SocketIO;\r\n<span style=\"color:blue;\">using</span> BestHTTP.SocketIO.Events;\r\n\r\n<span style=\"color:blue;\">public</span> <span style=\"color:blue;\">sealed</span> <span style=\"color:blue;\">class</span> <span style=\"color:#2b91af;\">SocketIOWePlaySample</span> : <span style=\"color:#2b91af;\">MonoBehaviour</span>\r\n{\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Possible states of the game.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">enum</span> <span style=\"color:#2b91af;\">States</span>\r\n {\r\n Connecting,\r\n WaitForNick,\r\n Joined\r\n }\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Controls that the server understands as a parameter in the move event.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">string</span>[] controls = <span style=\"color:blue;\">new</span> <span style=\"color:blue;\">string</span>[] { <span style=\"color:#a31515;\">"left"</span>, <span style=\"color:#a31515;\">"right"</span>, <span style=\"color:#a31515;\">"a"</span>, <span style=\"color:#a31515;\">"b"</span>, <span style=\"color:#a31515;\">"up"</span>, <span style=\"color:#a31515;\">"down"</span>, <span style=\"color:#a31515;\">"select"</span>, <span style=\"color:#a31515;\">"start"</span> };\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Ratio of the drawn GUI texture from the screen</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">const</span> <span style=\"color:blue;\">float</span> ratio = 1.5f;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> How many messages to keep.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">int</span> MaxMessages = 50;\r\n \r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Current state of the game.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">States</span> State;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The root("/") Socket instance.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">Socket</span> Socket;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The user-selected nickname.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">string</span> Nick = <span style=\"color:blue;\">string</span>.Empty;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The message that the user want to send to the chat.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">string</span> messageToSend = <span style=\"color:blue;\">string</span>.Empty;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> How many user connected to the server.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">int</span> connections;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Local and server sent messages.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">List</span><<span style=\"color:blue;\">string</span>> messages = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">List</span><<span style=\"color:blue;\">string</span>>();\r\n \r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The chat scroll position.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">Vector2</span> scrollPos;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The decoded texture from the server sent binary data</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">Texture2D</span> FrameTexture;\r\n\r\n<span style=\"color:blue;\"> #region</span> Unity Events\r\n\r\n <span style=\"color:blue;\">void</span> Start()\r\n {\r\n <span style=\"color:green;\">// Change an option to show how it should be done</span>\r\n <span style=\"color:#2b91af;\">SocketOptions</span> options = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">SocketOptions</span>();\r\n options.AutoConnect = <span style=\"color:blue;\">false</span>;\r\n\r\n <span style=\"color:green;\">// Create the SocketManager instance</span>\r\n <span style=\"color:blue;\">var</span> manager = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">SocketManager</span>(<span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">Uri</span>(<span style=\"color:#a31515;\">"http://io.weplay.io/socket.io/"</span>), options);\r\n\r\n <span style=\"color:green;\">// Keep a reference to the root namespace</span>\r\n Socket = manager.Socket;\r\n\r\n <span style=\"color:green;\">// Set up our event handlers.</span>\r\n Socket.On(<span style=\"color:#2b91af;\">SocketIOEventTypes</span>.Connect, OnConnected);\r\n Socket.On(<span style=\"color:#a31515;\">"joined"</span>, OnJoined);\r\n Socket.On(<span style=\"color:#a31515;\">"connections"</span>, OnConnections);\r\n Socket.On(<span style=\"color:#a31515;\">"join"</span>, OnJoin);\r\n Socket.On(<span style=\"color:#a31515;\">"move"</span>, OnMove);\r\n Socket.On(<span style=\"color:#a31515;\">"message"</span>, OnMessage);\r\n Socket.On(<span style=\"color:#a31515;\">"reload"</span>, OnReload);\r\n\r\n <span style=\"color:green;\">// Don't waste cpu cycles on decoding the payload, we are expecting only binary data with this event,</span>\r\n <span style=\"color:green;\">// and we can access it through the packet's Attachments property.</span>\r\n Socket.On(<span style=\"color:#a31515;\">"frame"</span>, OnFrame, <span style=\"color:green;\">/*autoDecodePayload:*/</span> <span style=\"color:blue;\">false</span>);\r\n\r\n <span style=\"color:green;\">// Add error handler, so we can display it</span>\r\n Socket.On(<span style=\"color:#2b91af;\">SocketIOEventTypes</span>.Error, OnError);\r\n\r\n <span style=\"color:green;\">// We set SocketOptions' AutoConnect to false, so we have to call it manually.</span>\r\n manager.Open();\r\n\r\n <span style=\"color:green;\">// We are connecting to the server.</span>\r\n State = <span style=\"color:#2b91af;\">States</span>.Connecting;\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnDestroy()\r\n {\r\n <span style=\"color:green;\">// Leaving this sample, close the socket</span>\r\n Socket.Manager.Close();\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> Update()\r\n {\r\n <span style=\"color:green;\">// Go back to the demo selector</span>\r\n <span style=\"color:blue;\">if</span> (<span style=\"color:#2b91af;\">Input</span>.GetKeyDown(<span style=\"color:#2b91af;\">KeyCode</span>.Escape))\r\n <span style=\"color:#2b91af;\">SampleSelector</span>.SelectedSample.DestroyUnityObject();\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnGUI()\r\n {\r\n <span style=\"color:blue;\">switch</span>(State)\r\n {\r\n <span style=\"color:blue;\">case</span> <span style=\"color:#2b91af;\">States</span>.Connecting:\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawArea(<span style=\"color:#2b91af;\">GUIHelper</span>.ClientArea, <span style=\"color:blue;\">true</span>, () =>\r\n {\r\n <span style=\"color:#2b91af;\">GUILayout</span>.BeginVertical();\r\n <span style=\"color:#2b91af;\">GUILayout</span>.FlexibleSpace();\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawCenteredText(<span style=\"color:#a31515;\">"Connecting to the server..."</span>);\r\n <span style=\"color:#2b91af;\">GUILayout</span>.FlexibleSpace();\r\n <span style=\"color:#2b91af;\">GUILayout</span>.EndVertical();\r\n });\r\n <span style=\"color:blue;\">break</span>;\r\n \r\n <span style=\"color:blue;\">case</span> <span style=\"color:#2b91af;\">States</span>.WaitForNick:\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawArea(<span style=\"color:#2b91af;\">GUIHelper</span>.ClientArea, <span style=\"color:blue;\">true</span>, () =>\r\n {\r\n DrawLoginScreen();\r\n });\r\n <span style=\"color:blue;\">break</span>;\r\n\r\n <span style=\"color:blue;\">case</span> <span style=\"color:#2b91af;\">States</span>.Joined:\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawArea(<span style=\"color:#2b91af;\">GUIHelper</span>.ClientArea, <span style=\"color:blue;\">true</span>, () =>\r\n {\r\n <span style=\"color:green;\">// Draw Texture</span>\r\n <span style=\"color:blue;\">if</span> (FrameTexture != <span style=\"color:blue;\">null</span>)\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Box(FrameTexture);\r\n\r\n DrawControls();\r\n DrawChat();\r\n });\r\n <span style=\"color:blue;\">break</span>;\r\n }\r\n }\r\n\r\n<span style=\"color:blue;\"> #endregion</span>\r\n\r\n<span style=\"color:blue;\"> #region</span> Helper Functions\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Called from an OnGUI event&nb[...string is too long...]");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("looktarget");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("sd");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Pending");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)43), 0, 171);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 943f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.PBCOCNJNOII());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602722B RID: 160299 RVA: 0x00ADEDB0 File Offset: 0x00ADCFB0
|
|
private void HHGIHIJFDHL()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Not in any event");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("Cheer");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("{0}v1/modify/isprivate");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("{0}v1/send");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)38), 0, -129);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 346f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.ABOAPFLFCHH());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602722C RID: 160300 RVA: 0x00ADEEB0 File Offset: 0x00ADD0B0
|
|
private float KDPDLJENAAH()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1644f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 741f;
|
|
}
|
|
return 904f;
|
|
}
|
|
|
|
// Token: 0x0602722D RID: 160301 RVA: 0x00ADEEE8 File Offset: 0x00ADD0E8
|
|
private void DFBDHMKDJOB()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Challenges");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("Unknown command: {0}");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("encoderDelay");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("name");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)(-29)), 0, 161);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1443f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.FHAIBBJMPAA());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602722E RID: 160302 RVA: 0x00ADEFE8 File Offset: 0x00ADD1E8
|
|
private float CJHDKAEMALG()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1924f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 270f;
|
|
}
|
|
return 1539f;
|
|
}
|
|
|
|
// Token: 0x0602722F RID: 160303 RVA: 0x00ADF020 File Offset: 0x00ADD220
|
|
private void PEALKHMDMKP()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027230 RID: 160304 RVA: 0x00ADF040 File Offset: 0x00ADD240
|
|
private void BEJPIHEKCML()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("The host has restricted access to the stage");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("OculusPlatformSettings");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("rotation");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("QueerGirl");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)97), 1, 151);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1839f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.IDEKAMJAMHC());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027231 RID: 160305 RVA: 0x00ADF140 File Offset: 0x00ADD340
|
|
private void LHDCMFKBGNP()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027232 RID: 160306 RVA: 0x00ADF160 File Offset: 0x00ADD360
|
|
private void MPIHCILBGLM()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("{0}_voice_");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("Adding player twice: ");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("CatGirl");
|
|
this.JIAEMAABKHP = Shader.PropertyToID(" ms");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)68), 0, -178);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 12f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.HLLAGPEBDJG());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027233 RID: 160307 RVA: 0x00ADF260 File Offset: 0x00ADD460
|
|
private void DHAEEPCMCMI()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("PS4PlatformManager: Failed to retrieve PSN Auth Code: ");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("EU");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("x");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("wss");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)127), 0, 60);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 94f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.PDKANPEEHFD());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027234 RID: 160308 RVA: 0x00ADF360 File Offset: 0x00ADD560
|
|
private float LAHGJBJKDHG()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 934f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1631f;
|
|
}
|
|
return 407f;
|
|
}
|
|
|
|
// Token: 0x06027235 RID: 160309 RVA: 0x00ADF398 File Offset: 0x00ADD598
|
|
private float EKEKLNHKIEN()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 831f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1270f;
|
|
}
|
|
return 1896f;
|
|
}
|
|
|
|
// Token: 0x06027236 RID: 160310 RVA: 0x00ADF3D0 File Offset: 0x00ADD5D0
|
|
private void MKMAMKDILHL()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027237 RID: 160311 RVA: 0x00ADF3F0 File Offset: 0x00ADD5F0
|
|
private void MCECFOCPOCA()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Roomscale");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("PersonalDetails");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("USE_DESATURATION_MASK");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("rotation");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)27), 0, 119);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1115f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.CJHDKAEMALG());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x170011CD RID: 4557
|
|
// (get) Token: 0x06027238 RID: 160312 RVA: 0x00ADF4F0 File Offset: 0x00ADD6F0
|
|
private float OPOGNPDBKEJ
|
|
{
|
|
get
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 3f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 0f;
|
|
}
|
|
return 6f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027239 RID: 160313 RVA: 0x00ADF528 File Offset: 0x00ADD728
|
|
private void OLNOKJEPFII()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602723A RID: 160314 RVA: 0x00ADF548 File Offset: 0x00ADD748
|
|
private void BHNBOLEJFFH()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602723B RID: 160315 RVA: 0x00ADF568 File Offset: 0x00ADD768
|
|
private void PAKPLLPDIOG()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("UnlockedLevel");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("Update your access token by selecting 'Oculus Platform' -> 'Edit Settings'");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID(" not initialized");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Campaign Medium");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)(-72)), 1, 15);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1423f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.FHAIBBJMPAA());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602723C RID: 160316 RVA: 0x00ADF668 File Offset: 0x00ADD868
|
|
private void FNNCEMJECLP()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("CSM");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("LaunchingInternalProcess");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Can't find room {0}");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Barthion");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)(-27)), 1, -142);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1133f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.CCCMMGCGLKG());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602723D RID: 160317 RVA: 0x00ADF768 File Offset: 0x00ADD968
|
|
private void GAMKILIEJHG()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Movement Up");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("{0}{1}:{2}");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("PhoneNumber");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Grip");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)70), 1, 179);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 807f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.ABOAPFLFCHH());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602723E RID: 160318 RVA: 0x00ADF868 File Offset: 0x00ADDA68
|
|
private float GMIKLIDOIHJ()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1578f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1802f;
|
|
}
|
|
return 1592f;
|
|
}
|
|
|
|
// Token: 0x0602723F RID: 160319 RVA: 0x00ADF8A0 File Offset: 0x00ADDAA0
|
|
private void OBHBFPACFNI()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID(" ms");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("y");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("coach");
|
|
this.JIAEMAABKHP = Shader.PropertyToID(" Address: ");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)(-74)), 1, -176);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 232f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.BGEONIJNBJA());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027240 RID: 160320 RVA: 0x00ADF9A0 File Offset: 0x00ADDBA0
|
|
private float OAHLNBKLAGF()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1918f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 565f;
|
|
}
|
|
return 1089f;
|
|
}
|
|
|
|
// Token: 0x06027241 RID: 160321 RVA: 0x00ADF9D8 File Offset: 0x00ADDBD8
|
|
private float PBCOCNJNOII()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1893f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1827f;
|
|
}
|
|
return 162f;
|
|
}
|
|
|
|
// Token: 0x06027242 RID: 160322 RVA: 0x00ADFA10 File Offset: 0x00ADDC10
|
|
private void GIHBOGHIBFC()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027243 RID: 160323 RVA: 0x00ADFA30 File Offset: 0x00ADDC30
|
|
private float PFEKCFEJINJ()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1100f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1789f;
|
|
}
|
|
return 303f;
|
|
}
|
|
|
|
// Token: 0x06027244 RID: 160324 RVA: 0x00ADFA68 File Offset: 0x00ADDC68
|
|
private void EEFJBLAIGBP()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("NonCoachVolume");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("scale");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("amount");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("SystemInfo");
|
|
int num = Mathf.Clamp(0 << (int)this.stencilLayer, 1, -156);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 544f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.FHLBFCOGAFB());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027245 RID: 160325 RVA: 0x00ADFB68 File Offset: 0x00ADDD68
|
|
private void DHKOHMJLFCA()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("[ChaperoneInfo]");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("ignoreBufferSizes does not have correct number of values.");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("vr_interaction_system_right_hand_question.png");
|
|
this.JIAEMAABKHP = Shader.PropertyToID(" enemies.");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)123), 1, -193);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1664f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.LAHGJBJKDHG());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027246 RID: 160326 RVA: 0x00ADFC68 File Offset: 0x00ADDE68
|
|
private void MLKKJEACEMF()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027247 RID: 160327 RVA: 0x00ADFC88 File Offset: 0x00ADDE88
|
|
private void LOMIACBDFOB()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027248 RID: 160328 RVA: 0x00ADFCA8 File Offset: 0x00ADDEA8
|
|
private void GHFAJDCMJAK()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("\n");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("lt");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Cinematic");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Cugiel");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)(-17)), 1, 130);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 421f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.PBPBJOIDACP());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027249 RID: 160329 RVA: 0x00ADFDA8 File Offset: 0x00ADDFA8
|
|
private void JFFLHAMMGAH()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("punch");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("true");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("from");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("int\nfloat\nstring\n<color=\"#75C4EB\">uint\ndouble\nlong\nbool\nbyte[]\nVector2\nVector3\nQuaternion\nColor\nRect</color>");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)90), 1, 48);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1189f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.KPJODEACGNC());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602724A RID: 160330 RVA: 0x00ADFEA8 File Offset: 0x00ADE0A8
|
|
private float ABOAPFLFCHH()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 715f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1817f;
|
|
}
|
|
return 1929f;
|
|
}
|
|
|
|
// Token: 0x0602724B RID: 160331 RVA: 0x00ADFEE0 File Offset: 0x00ADE0E0
|
|
private float FAGJEPKGAGI()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1403f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1647f;
|
|
}
|
|
return 920f;
|
|
}
|
|
|
|
// Token: 0x0602724C RID: 160332 RVA: 0x00ADFF18 File Offset: 0x00ADE118
|
|
private void CJGBNLBEKFK()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Memory was not allocated for the encoder");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("TEST_BOTH_ALWAYS_LOGINS");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("WallHack Detector");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("toggleframerate");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)106), 1, -125);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1454f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.LAHGJBJKDHG());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602724D RID: 160333 RVA: 0x00AE0018 File Offset: 0x00ADE218
|
|
private void CHOLLIANPAL()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("game_join_failed");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("{0}reportjoinresult");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("RigidPlayer");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("disablesandboxmachine");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)(-111)), 0, 0);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 701f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.ABOAPFLFCHH());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602724E RID: 160334 RVA: 0x00AE0118 File Offset: 0x00ADE318
|
|
private void PJFFNBKMKBI()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602724F RID: 160335 RVA: 0x00AE0138 File Offset: 0x00ADE338
|
|
private void INGMCGGJGMA()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("[ObjectPool]");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("Release");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("no-cache");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("api/challenge/");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)(-110)), 0, 127);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 287f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.GMIKLIDOIHJ());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027250 RID: 160336 RVA: 0x00AE0238 File Offset: 0x00ADE438
|
|
private float HDKJCKOGFBC()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 174f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1604f;
|
|
}
|
|
return 285f;
|
|
}
|
|
|
|
// Token: 0x06027251 RID: 160337 RVA: 0x00AE0270 File Offset: 0x00ADE470
|
|
private void BDKMGEHDIIH()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Failed to get local outfit data. Try again later!");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("room_name");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("action");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("TrackerAnchor");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)(-70)), 1, -93);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 546f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.KPPLLJGJFOA());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027252 RID: 160338 RVA: 0x00AE0370 File Offset: 0x00ADE570
|
|
private void LGCNFLACIIH()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("WebSocket");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("Distance: {0}m");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Oculus User");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Incoming: \n");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)70), 1, 187);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i += 0)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 173f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.FHAIBBJMPAA());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027253 RID: 160339 RVA: 0x00AE0470 File Offset: 0x00ADE670
|
|
private float DJCFINFDOGJ()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1017f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1595f;
|
|
}
|
|
return 599f;
|
|
}
|
|
|
|
// Token: 0x06027254 RID: 160340 RVA: 0x00AE04A8 File Offset: 0x00ADE6A8
|
|
private void MIFPCGBMGMD()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027255 RID: 160341 RVA: 0x00AE04C8 File Offset: 0x00ADE6C8
|
|
private float OPPFJOCKNFN()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 313f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1177f;
|
|
}
|
|
return 1239f;
|
|
}
|
|
|
|
// Token: 0x06027256 RID: 160342 RVA: 0x00AE0500 File Offset: 0x00ADE700
|
|
private void DCKOCPMABHH()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Received malformed RecNet response: '");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("NEWPLAYER_PUNCHCARD_FORCE_SHOW");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Friend");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("PSOnlyMatching");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)17), 1, -178);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1805f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.EKEKLNHKIEN());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027257 RID: 160343 RVA: 0x00AE0600 File Offset: 0x00ADE800
|
|
private float MPAKFECKBJK()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1275f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1229f;
|
|
}
|
|
return 744f;
|
|
}
|
|
|
|
// Token: 0x06027258 RID: 160344 RVA: 0x00AE0638 File Offset: 0x00ADE838
|
|
private float FHAIBBJMPAA()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 971f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1586f;
|
|
}
|
|
return 1140f;
|
|
}
|
|
|
|
// Token: 0x06027259 RID: 160345 RVA: 0x00AE0670 File Offset: 0x00ADE870
|
|
private float FHLBFCOGAFB()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1423f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 526f;
|
|
}
|
|
return 160f;
|
|
}
|
|
|
|
// Token: 0x0602725A RID: 160346 RVA: 0x00AE06A8 File Offset: 0x00ADE8A8
|
|
private void ONKCFGIOGCF()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("fps");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("OpSetPropertiesOfActor not sent. ActorNr must be > 0 and actorProperties != null.");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("yesVotes");
|
|
this.JIAEMAABKHP = Shader.PropertyToID(" Completed!");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & (BFEINGKLFGB)95), 1, 4);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 1; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 63f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.AEAIFKABAAG());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602725B RID: 160347 RVA: 0x00AE07A8 File Offset: 0x00ADE9A8
|
|
private float NMDGHCNBKLD()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 906f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 574f;
|
|
}
|
|
return 1980f;
|
|
}
|
|
|
|
// Token: 0x0602725C RID: 160348 RVA: 0x00AE07E0 File Offset: 0x00ADE9E0
|
|
private void BGJEJHLKNKA()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Id");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("OpGetGameList not sent. Lobby cannot be null.");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("{0}joinevent");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("ID");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)(-84)), 1, 13);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1010f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.FAGJEPKGAGI());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602725D RID: 160349 RVA: 0x00AE08E0 File Offset: 0x00ADEAE0
|
|
private void AECBOJELNAI()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602725E RID: 160350 RVA: 0x00AE0900 File Offset: 0x00ADEB00
|
|
private void POMCHIPOPEA()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("IS_ALIVE");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("THUMB");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Aborted");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("Title:{0} Message:{1} Lock:{2}");
|
|
int num = Mathf.Clamp(0 << (int)(this.stencilLayer & (BFEINGKLFGB)35), 1, -177);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 55f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.CCCMMGCGLKG());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602725F RID: 160351 RVA: 0x00AE0A00 File Offset: 0x00ADEC00
|
|
private void PFBFOGJOOGP()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("Could not execute RPC ");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("reported_player");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("Failed to connect to RecNet");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("_GradientVector");
|
|
int num = Mathf.Clamp(1 << (int)(this.stencilLayer & BFEINGKLFGB.UI_BUTTON_MASK), 1, 119);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 1822f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.LACHJPFICMC());
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027260 RID: 160352 RVA: 0x00AE0B00 File Offset: 0x00ADED00
|
|
private void MPFILNDGMBF()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027261 RID: 160353 RVA: 0x00AE0B20 File Offset: 0x00ADED20
|
|
private float HPHBBINEDDM()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 157f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 949f;
|
|
}
|
|
return 1780f;
|
|
}
|
|
|
|
// Token: 0x06027262 RID: 160354 RVA: 0x00AE0B58 File Offset: 0x00ADED58
|
|
private void Awake()
|
|
{
|
|
this.PICCAKABEGE = Shader.PropertyToID("_Stencil");
|
|
this.COFMDJNAGLA = Shader.PropertyToID("_StencilComp");
|
|
this.IGIBEHMCAHN = Shader.PropertyToID("_StencilWriteMask");
|
|
this.JIAEMAABKHP = Shader.PropertyToID("_StencilReadMask");
|
|
int num = Mathf.Clamp(1 << (int)this.stencilLayer, 0, 255);
|
|
MaskableGraphic[] componentsInChildren = base.GetComponentsInChildren<MaskableGraphic>();
|
|
for (int i = 0; i < componentsInChildren.Length; i++)
|
|
{
|
|
Material material = componentsInChildren[i].material;
|
|
this.FHIJPJKMFLA = global::UnityEngine.Object.Instantiate<Material>(material);
|
|
componentsInChildren[i].material = this.FHIJPJKMFLA;
|
|
componentsInChildren[i].material.SetFloat(this.PICCAKABEGE, 255f);
|
|
componentsInChildren[i].material.SetFloat(this.COFMDJNAGLA, this.OPOGNPDBKEJ);
|
|
componentsInChildren[i].material.SetFloat(this.IGIBEHMCAHN, (float)num);
|
|
componentsInChildren[i].material.SetFloat(this.JIAEMAABKHP, (float)num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027263 RID: 160355 RVA: 0x00AE0C58 File Offset: 0x00ADEE58
|
|
private float KPPLLJGJFOA()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 697f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 791f;
|
|
}
|
|
return 1606f;
|
|
}
|
|
|
|
// Token: 0x06027264 RID: 160356 RVA: 0x00AE0C90 File Offset: 0x00ADEE90
|
|
private void GIJIDFKGNHF()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027266 RID: 160358 RVA: 0x00AE0CDC File Offset: 0x00ADEEDC
|
|
private void ICPCJPFPLCD()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027267 RID: 160359 RVA: 0x00AE0CFC File Offset: 0x00ADEEFC
|
|
private void LOCALHGOONI()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027268 RID: 160360 RVA: 0x00AE0D1C File Offset: 0x00ADEF1C
|
|
private void CNMLMFAHLOP()
|
|
{
|
|
if (this.FHIJPJKMFLA != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.FHIJPJKMFLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06027269 RID: 160361 RVA: 0x00AE0D3C File Offset: 0x00ADEF3C
|
|
private float AEAIFKABAAG()
|
|
{
|
|
CustomUIMask.HNHOLKAENJL hnholkaenjl = this.maskMode;
|
|
if (hnholkaenjl == CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_EXISTS)
|
|
{
|
|
return 1062f;
|
|
}
|
|
if (hnholkaenjl != CustomUIMask.HNHOLKAENJL.RENDER_WHERE_MASK_DOES_NOT_EXIST)
|
|
{
|
|
return 1097f;
|
|
}
|
|
return 1519f;
|
|
}
|
|
|
|
// Token: 0x0400626C RID: 25196
|
|
[Header("Masking Settings")]
|
|
[SerializeField]
|
|
public BFEINGKLFGB stencilLayer = BFEINGKLFGB.UI_BUTTON_MASK;
|
|
|
|
// Token: 0x0400626D RID: 25197
|
|
[SerializeField]
|
|
private CustomUIMask.HNHOLKAENJL maskMode;
|
|
|
|
// Token: 0x0400626E RID: 25198
|
|
private int PICCAKABEGE = -1;
|
|
|
|
// Token: 0x0400626F RID: 25199
|
|
private int COFMDJNAGLA = -1;
|
|
|
|
// Token: 0x04006270 RID: 25200
|
|
private int IGIBEHMCAHN = -1;
|
|
|
|
// Token: 0x04006271 RID: 25201
|
|
private int JIAEMAABKHP = -1;
|
|
|
|
// Token: 0x04006272 RID: 25202
|
|
private Material FHIJPJKMFLA;
|
|
|
|
// Token: 0x020011DF RID: 4575
|
|
private enum HNHOLKAENJL
|
|
{
|
|
// Token: 0x04006274 RID: 25204
|
|
RENDER_WHERE_MASK_EXISTS,
|
|
// Token: 0x04006275 RID: 25205
|
|
RENDER_WHERE_MASK_DOES_NOT_EXIST
|
|
}
|
|
}
|