コード例 #1
0
ファイル: LQCPKKCJPPB.cs プロジェクト: pqlx/pokeone-source
    // Token: 0x06005103 RID: 20739 RVA: 0x002A1E40 File Offset: 0x002A0040
    public void NHENHBGIFIG(PSXAPI.Response.Message QPGCBDPFIOF)
    {
        if (CKMLKNPNPQO.QOQONHOOLNE.OFKHICHJCIP(QPGCBDPFIOF.Name))
        {
            return;
        }
        DBNMEGNMIDG dbnmegnmidg = LQCPKKCJPPB.MBKGQFPMIFC(QPGCBDPFIOF.Name);

        if (QPGCBDPFIOF.Pokemon != null)
        {
            for (int i = 0; i < QPGCBDPFIOF.Pokemon.Length; i++)
            {
                HFCMDEQKCKH.QOQONHOOLNE.EJNMJKMKMJB(QPGCBDPFIOF.Pokemon[i]);
            }
        }
        if (dbnmegnmidg != null)
        {
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Message)
            {
                dbnmegnmidg.LJBQIJQOPKK(QPGCBDPFIOF.Name, QPGCBDPFIOF.Text, QPGCBDPFIOF.Rank);
            }
            else if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Offline)
            {
                dbnmegnmidg.LJBQIJQOPKK("System", QPGCBDPFIOF.Name + " is offline.", StaffRank.None);
            }
            else if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Closed)
            {
                dbnmegnmidg.LJBQIJQOPKK("System", QPGCBDPFIOF.Name + " closed the Chat Window.", StaffRank.None);
            }
        }
        else
        {
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Closed)
            {
                return;
            }
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Offline)
            {
                return;
            }
            GameObject gameObject = this.ENKLDKKDMGD.BFCKNMFEBDM(this.FOCBHHFJCNN);
            dbnmegnmidg = gameObject.GetComponent <DBNMEGNMIDG>();
            LQCPKKCJPPB.MDECNJCEEPQ.Add(dbnmegnmidg);
            dbnmegnmidg.BQLIIQIIMDH(QPGCBDPFIOF.Name);
            dbnmegnmidg.transform.localPosition += new Vector3(Mathf.Min(100f, (float)LQCPKKCJPPB.MDECNJCEEPQ.Count * 5f), Mathf.Min(100f, (float)LQCPKKCJPPB.MDECNJCEEPQ.Count * 5f), 0f);
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Message)
            {
                dbnmegnmidg.LJBQIJQOPKK(QPGCBDPFIOF.Name, QPGCBDPFIOF.Text, QPGCBDPFIOF.Rank);
            }
            else if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Offline)
            {
                dbnmegnmidg.LJBQIJQOPKK("System", QPGCBDPFIOF.Name + " is offline.", StaffRank.None);
            }
        }
    }
コード例 #2
0
ファイル: LQCPKKCJPPB.cs プロジェクト: pqlx/pokeone-source
    // Token: 0x06005106 RID: 20742 RVA: 0x002A2058 File Offset: 0x002A0258
    public void HBGIMLBDING(PSXAPI.Response.Message QPGCBDPFIOF)
    {
        if (CKMLKNPNPQO.QOQONHOOLNE.IPHGGDIEOOF(QPGCBDPFIOF.Name))
        {
            return;
        }
        DBNMEGNMIDG dbnmegnmidg = LQCPKKCJPPB.MBKGQFPMIFC(QPGCBDPFIOF.Name);

        if (QPGCBDPFIOF.Pokemon != null)
        {
            for (int i = 1; i < QPGCBDPFIOF.Pokemon.Length; i++)
            {
                HFCMDEQKCKH.CFGIOIGOIFQ().EJNMJKMKMJB(QPGCBDPFIOF.Pokemon[i]);
            }
        }
        if (dbnmegnmidg != null)
        {
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Message)
            {
                dbnmegnmidg.GDBKKDFIINI(QPGCBDPFIOF.Name, QPGCBDPFIOF.Text, QPGCBDPFIOF.Rank);
            }
            else if (QPGCBDPFIOF.Event == (PSXAPI.Response.MessageEvent) 4)
            {
                dbnmegnmidg.LEFMEGOHGNN("Hidden/Post FX/FXAA", QPGCBDPFIOF.Name + "egg", StaffRank.None);
            }
            else if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Closed)
            {
                dbnmegnmidg.LJBQIJQOPKK("14", QPGCBDPFIOF.Name + "inky", StaffRank.None);
            }
        }
        else
        {
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Message)
            {
                return;
            }
            if (QPGCBDPFIOF.Event == (PSXAPI.Response.MessageEvent) 7)
            {
                return;
            }
            GameObject gameObject = this.ENKLDKKDMGD.BFCKNMFEBDM(this.FOCBHHFJCNN);
            dbnmegnmidg = gameObject.GetComponent <DBNMEGNMIDG>();
            LQCPKKCJPPB.MDECNJCEEPQ.Add(dbnmegnmidg);
            dbnmegnmidg.OJIBNMPCFBQ(QPGCBDPFIOF.Name);
            dbnmegnmidg.transform.localPosition += new Vector3(Mathf.Min(1387f, (float)LQCPKKCJPPB.MDECNJCEEPQ.Count * 1005f), Mathf.Min(917f, (float)LQCPKKCJPPB.MDECNJCEEPQ.Count * 265f), 1356f);
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Message)
            {
                dbnmegnmidg.CFGNFCOCGLO(QPGCBDPFIOF.Name, QPGCBDPFIOF.Text, QPGCBDPFIOF.Rank);
            }
            else if (QPGCBDPFIOF.Event == (PSXAPI.Response.MessageEvent) 8)
            {
                dbnmegnmidg.LJBQIJQOPKK("_FogColor2", QPGCBDPFIOF.Name + "#,##0", StaffRank.None);
            }
        }
    }
コード例 #3
0
ファイル: LQCPKKCJPPB.cs プロジェクト: pqlx/pokeone-source
    // Token: 0x06005102 RID: 20738 RVA: 0x002A1C80 File Offset: 0x0029FE80
    public void KJBQEOBDKCJ(PSXAPI.Response.Message QPGCBDPFIOF)
    {
        if (CKMLKNPNPQO.INJDHLQHFFD().IPHGGDIEOOF(QPGCBDPFIOF.Name))
        {
            return;
        }
        DBNMEGNMIDG dbnmegnmidg = LQCPKKCJPPB.MBKGQFPMIFC(QPGCBDPFIOF.Name);

        if (QPGCBDPFIOF.Pokemon != null)
        {
            for (int i = 0; i < QPGCBDPFIOF.Pokemon.Length; i++)
            {
                HFCMDEQKCKH.QOQONHOOLNE.HQPPLJEPDGO(QPGCBDPFIOF.Pokemon[i]);
            }
        }
        if (dbnmegnmidg != null)
        {
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Message)
            {
                dbnmegnmidg.DQCQFKLOMED(QPGCBDPFIOF.Name, QPGCBDPFIOF.Text, QPGCBDPFIOF.Rank);
            }
            else if (QPGCBDPFIOF.Event == (PSXAPI.Response.MessageEvent) 5)
            {
                dbnmegnmidg.GDBKKDFIINI("_Saturation", QPGCBDPFIOF.Name + "!\r\n", StaffRank.None);
            }
            else if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Message)
            {
                dbnmegnmidg.LEFMEGOHGNN("\nNight", QPGCBDPFIOF.Name + "!\r\n", StaffRank.None);
            }
        }
        else
        {
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Message)
            {
                return;
            }
            if (QPGCBDPFIOF.Event == (PSXAPI.Response.MessageEvent) 7)
            {
                return;
            }
            GameObject gameObject = this.ENKLDKKDMGD.BFCKNMFEBDM(this.FOCBHHFJCNN);
            dbnmegnmidg = gameObject.GetComponent <DBNMEGNMIDG>();
            LQCPKKCJPPB.MDECNJCEEPQ.Add(dbnmegnmidg);
            dbnmegnmidg.LQFDMHPELCJ(QPGCBDPFIOF.Name);
            dbnmegnmidg.transform.localPosition += new Vector3(Mathf.Min(1612f, (float)LQCPKKCJPPB.MDECNJCEEPQ.Count * 1335f), Mathf.Min(852f, (float)LQCPKKCJPPB.MDECNJCEEPQ.Count * 1403f), 728f);
            if (QPGCBDPFIOF.Event == PSXAPI.Response.MessageEvent.Message)
            {
                dbnmegnmidg.CFGNFCOCGLO(QPGCBDPFIOF.Name, QPGCBDPFIOF.Text, QPGCBDPFIOF.Rank);
            }
            else if (QPGCBDPFIOF.Event == (PSXAPI.Response.MessageEvent) 4)
            {
                dbnmegnmidg.LJBQIJQOPKK("_", QPGCBDPFIOF.Name + " ", StaffRank.Developer);
            }
        }
    }