コード例 #1
0
ファイル: GClass932.cs プロジェクト: browser1989/DOPE-Source
    private void method_20(GClass147 gclass147_0)
    {
        this.bool_2 = false;
        if (gclass147_0.string_0.StartsWith("!dope"))
        {
            this.bool_2 = false;
            string str = gclass147_0.string_0.Substring(5).Trim();
            this.Game.method_9(new GClass269("69|" + str));
            return;
        }
        GInterface5 ginterface = null;

        if (gclass147_0.string_0.StartsWith("!!>"))
        {
            ginterface = this.Game.Connection;
        }
        else if (gclass147_0.string_0.StartsWith("!!<"))
        {
            ginterface = this.method_0();
        }
        if (ginterface == null)
        {
            this.bool_2 = true;
            return;
        }
        GClass269 ginterface0_ = new GClass269(gclass147_0.string_0.Substring(3));

        ginterface.SendMessage(ginterface0_);
    }
コード例 #2
0
    public int method_7(int int_0, int int_1, bool bool_0 = false)
    {
        Hero hero = this.Connection.Game.Hero;

        if (!hero.CanMove)
        {
            return(0);
        }
        Vector2 position = hero.Position;

        if (this.Connection.Game.Security.method_2(position, int_0, int_1, 0) && bool_0)
        {
            this.method_5();
        }
        GClass161 gclass = new GClass161((int)position.X, int_1, int_0, (int)position.Y);

        if ((gclass.int_3 + int_0) % 3 == 0)
        {
            gclass.int_3++;
        }
        gclass.int_0 -= (gclass.int_0 + int_1) % 3;
        this.Connection.SendMessage(gclass);
        int         num         = hero.method_4(int_0, int_1, hero.Speed);
        GInterface5 proxySocket = this.Connection.ProxySocket;

        if (proxySocket != null)
        {
            proxySocket.SendMessage(new GClass266(this.Connection.Game.Hero.Id, int_0, int_1, num));
        }
        return(num);
    }
コード例 #3
0
 // Token: 0x060011C2 RID: 4546 RVA: 0x00003BD8 File Offset: 0x00001DD8
 public void CdromBurnMediaError(GInterface5 pCdromBurn, object pMedia)
 {
     if (this.delegate55_0 != null)
     {
         this.delegate55_0(pCdromBurn, pMedia);
         return;
     }
 }
コード例 #4
0
 // Token: 0x060011C1 RID: 4545 RVA: 0x00003BB4 File Offset: 0x00001DB4
 public void CdromBurnStateChange(GInterface5 pCdromBurn, Enum5 wmpbs)
 {
     if (this.delegate54_0 != null)
     {
         this.delegate54_0(pCdromBurn, wmpbs);
         return;
     }
 }
コード例 #5
0
 // Token: 0x060011A0 RID: 4512 RVA: 0x00003728 File Offset: 0x00001928
 public void CdromBurnError(GInterface5 pCdromBurn, int hrError)
 {
     if (this.delegate56_0 != null)
     {
         this.delegate56_0(pCdromBurn, hrError);
         return;
     }
 }
コード例 #6
0
 // Token: 0x060013BB RID: 5051 RVA: 0x00004DC0 File Offset: 0x00002FC0
 public Class54(GInterface5 ginterface5_1, Enum5 enum5_1)
 {
     this.ginterface5_0 = ginterface5_1;
     this.enum5_0       = enum5_1;
 }
コード例 #7
0
 // Token: 0x060013C0 RID: 5056 RVA: 0x00004DD6 File Offset: 0x00002FD6
 public Class55(GInterface5 ginterface5_1, object object_1)
 {
     this.ginterface5_0 = ginterface5_1;
     this.object_0      = object_1;
 }
コード例 #8
0
        // Token: 0x06001457 RID: 5207 RVA: 0x00025098 File Offset: 0x00023298
        public void CdromBurnMediaError(GInterface5 pCdromBurn, object pMedia)
        {
            Class55 class55_ = new Class55(pCdromBurn, pMedia);

            this.class24_0.method_35(this.class24_0, class55_);
        }
コード例 #9
0
        // Token: 0x06001456 RID: 5206 RVA: 0x00025070 File Offset: 0x00023270
        public void CdromBurnStateChange(GInterface5 pCdromBurn, Enum5 wmpbs)
        {
            Class54 class54_ = new Class54(pCdromBurn, wmpbs);

            this.class24_0.method_34(this.class24_0, class54_);
        }
コード例 #10
0
        // Token: 0x06001435 RID: 5173 RVA: 0x00024B30 File Offset: 0x00022D30
        public void CdromBurnError(GInterface5 pCdromBurn, int hrError)
        {
            Class25 class25_ = new Class25(pCdromBurn, hrError);

            this.class24_0.method_1(this.class24_0, class25_);
        }
コード例 #11
0
 // Token: 0x0600132A RID: 4906 RVA: 0x00004B2E File Offset: 0x00002D2E
 public Class25(GInterface5 ginterface5_1, int int_1)
 {
     this.ginterface5_0 = ginterface5_1;
     this.int_0         = int_1;
 }