Example #1
0
    public void method_8(uint uint_0 = 1U)
    {
        this.Log.Trace("Repair ship {selection}", uint_0);
        GClass242 gclass = this.Connection.method_14();

        gclass.string_1 = "";
        gclass.int_0    = 0;
        this.Connection.Game.Map.Clear();
        this.Connection.SendMessage(new GClass167(new GClass264(uint_0), gclass));
    }
Example #2
0
        public GClass242 method_14()
        {
            FlashSettings flashSettings = this.Game.Settings.FlashSettings;
            GClass242     result        = new GClass242(0, 0, "", "", 0)
            {
                int_1    = flashSettings.factionID,
                int_0    = flashSettings.pid,
                string_0 = flashSettings.sessionID.Trim(),
                int_2    = flashSettings.userID,
                string_1 = "8.3.2"
            };

            if (!this.method_18())
            {
                result = null;
            }
            return(result);
        }
Example #3
0
    private void method_13(GClass242 gclass242_0)
    {
        this.bool_2 = false;
        IPErkavaBotController iperkavaBotController;

        if (!PErkava.smethod_0().TryGetValue(gclass242_0.int_2, out iperkavaBotController))
        {
            return;
        }
        this.gameManager_0 = iperkavaBotController.Game;
        this.gameManager_0.Settings.MapHosts = PErkava.concurrentDictionary_3[iperkavaBotController.GameServer].method_1();
        if (!iperkavaBotController.AttachPErkava(gclass242_0))
        {
            return;
        }
        this.gameManager_0.Connection.ProxySocket = this.method_0();
        this.method_11();
        this.method_16();
    }
Example #4
0
 public GClass167(GClass264 gclass264_1 = null, GClass242 gclass242_1 = null)
 {
     Class13.NP5bWyNzLwONS();
     base..ctor();
     if (gclass264_1 == null)
     {
         this.gclass264_0 = new GClass264(0U);
     }
     else
     {
         this.gclass264_0 = gclass264_1;
     }
     if (gclass242_1 == null)
     {
         this.gclass242_0 = new GClass242(0, 0, "", "", 0);
         return;
     }
     this.gclass242_0 = gclass242_1;
 }
Example #5
0
 public void Run(GClass242 e)
 {
     ConnectionManager.Instance.Value.Game.Hero.method_15(e.gclass241_0);
 }
Example #6
0
        internal void method_15()
        {
            GClass242 ginterface0_ = this.method_14();

            this.SendMessage(ginterface0_);
        }