Пример #1
0
 public GClass242(GClass241 gclass241_1 = null)
 {
     Class13.lOBHd9Nzn7x2T();
     base..ctor();
     if (gclass241_1 == null)
     {
         this.gclass241_0 = new GClass241(0.0, "", 0.0, 0, false, 0.0, null);
         return;
     }
     this.gclass241_0 = gclass241_1;
 }
Пример #2
0
        internal void method_15(GClass241 gclass241_0)
        {
            string string_ = gclass241_0.string_0;

            if (string_ != null)
            {
                if (string_ == "currency_credits")
                {
                    this.Credits = gclass241_0.double_1;
                    return;
                }
                if (string_ == "currency_uridium")
                {
                    this.Uridium = gclass241_0.double_1;
                    return;
                }
                if (string_ == "currency_honour")
                {
                    this.Honor = gclass241_0.double_1;
                    return;
                }
                if (string_ == "currency_experience")
                {
                    this.Experience = gclass241_0.double_1;
                    return;
                }
                if (string_ == "currency_jackpotmoney")
                {
                    this.Jackpot = gclass241_0.double_1;
                    return;
                }
                if (string_.StartsWith("ammunition_"))
                {
                    this.method_22(string_, gclass241_0.double_1);
                    return;
                }
                string text = string_;
                if (text.StartsWith("resource_"))
                {
                    this.method_24(text, (double)((int)gclass241_0.double_1));
                    return;
                }
                string text2 = string_;
                if (text2.StartsWith("equipment_"))
                {
                    this.method_23(text2, (int)gclass241_0.double_1);
                }
            }
        }
Пример #3
0
    public virtual void imethod_1(BinaryStream binaryStream_0)
    {
        while (this.Items.Length > 0)
        {
            this.Items.method_1();
        }
        int i   = 0;
        int num = (int)binaryStream_0.smethod_1();

        while (i < num)
        {
            GClass241 gclass = (GClass241)GClass86.smethod_2((int)binaryStream_0.smethod_1());
            gclass.imethod_1(binaryStream_0);
            this.Items.method_0(gclass);
            i++;
        }
        this.int_0 = binaryStream_0.smethod_0();
        this.int_0 = (this.int_0 << 10 | U.smethod_0(this.int_0, 22));
        this.int_1 = binaryStream_0.smethod_0();
        this.int_1 = (U.smethod_0(this.int_1, 8) | this.int_1 << 24);
        this.int_2 = binaryStream_0.smethod_0();
        this.int_2 = (this.int_2 << 10 | U.smethod_0(this.int_2, 22));
    }
Пример #4
0
 public void method_18(GClass241 gclass241_0)
 {
     this.Map.method_27(gclass241_0);
 }