Пример #1
0
 public GClass245(GClass244 gclass244_1 = null)
 {
     Class13.NP5bWyNzLwONS();
     base..ctor();
     if (gclass244_1 == null)
     {
         this.gclass244_0 = new GClass244(0.0, "", 0.0, 0, false, 0.0, null);
         return;
     }
     this.gclass244_0 = gclass244_1;
 }
Пример #2
0
        internal void method_14(GClass244 gclass244_0)
        {
            string string_ = gclass244_0.string_0;

            if (string_ != null)
            {
                if (string_ == "currency_credits")
                {
                    this.Credits = gclass244_0.double_0;
                    return;
                }
                if (string_ == "currency_uridium")
                {
                    this.Uridium = gclass244_0.double_0;
                    return;
                }
                if (string_ == "currency_honour")
                {
                    this.Honor = gclass244_0.double_0;
                    return;
                }
                if (string_ == "currency_experience")
                {
                    this.Experience = gclass244_0.double_0;
                    return;
                }
                if (string_ == "currency_jackpotmoney")
                {
                    this.Jackpot = gclass244_0.double_0;
                    return;
                }
                if (string_.StartsWith("ammunition_"))
                {
                    this.method_20(string_, gclass244_0.double_0);
                    return;
                }
                string text = string_;
                if (text.StartsWith("resource_"))
                {
                    this.method_22(text, (double)((int)gclass244_0.double_0));
                    return;
                }
                string text2 = string_;
                if (text2.StartsWith("equipment_"))
                {
                    this.method_21(text2, (int)gclass244_0.double_0);
                }
            }
        }
Пример #3
0
    public virtual void HrqIugnatr8(BinaryStream binaryStream_0)
    {
        this.int_0 = binaryStream_0.smethod_0();
        this.int_0 = (this.int_0 << 9 | U.smethod_0(this.int_0, 23));
        while (this.Items.Length > 0)
        {
            this.Items.method_1();
        }
        int  num  = 0;
        uint num2 = (uint)binaryStream_0.smethod_0();

        while ((long)num < (long)((ulong)num2))
        {
            GClass244 gclass = GClass86.smethod_2((int)binaryStream_0.smethod_1()) as GClass244;
            gclass.HrqIugnatr8(binaryStream_0);
            this.Items.method_0(gclass);
            num++;
        }
        this.int_1 = binaryStream_0.smethod_0();
        this.int_1 = (this.int_1 << 15 | U.smethod_0(this.int_1, 17));
        this.int_2 = binaryStream_0.smethod_0();
        this.int_2 = (this.int_2 << 7 | U.smethod_0(this.int_2, 25));
        binaryStream_0.smethod_1();
    }
Пример #4
0
 public void method_2(GClass244 gclass244_0)
 {
     this.Map.method_19(gclass244_0);
 }