Exemplo n.º 1
0
 static Hero()
 {
     Class13.lOBHd9Nzn7x2T();
     Hero.Formations = new Dictionary <GEnum4, string>();
     foreach (object obj in Enum.GetValues(typeof(GEnum4)))
     {
         GEnum4 genum = (GEnum4)obj;
         Hero.Formations[genum] = genum.smethod_0();
     }
 }
Exemplo n.º 2
0
        public void GetConfig(Ship attacking, Map map, out int attack, out int fly, out GEnum4 attackFormation, out GEnum4 flyFormation)
        {
            attack          = this.AttackConfig;
            fly             = this.FlyingConfig;
            attackFormation = this.AttackFormation;
            flyFormation    = this.FlyingFormation;
            SelectedNpcModel model = this.GetModel(attacking, map, null, 0);

            if (model == null)
            {
                return;
            }
            if (model.Config != 0)
            {
                attack = model.Config;
            }
            if (model.DroneFormation != GEnum4.Default)
            {
                attackFormation = model.DroneFormation;
            }
        }
Exemplo n.º 3
0
 public static extern bool SetNamedPipeHandleState(IntPtr intptr_0, ref GEnum4 genum4_0, IntPtr intptr_1, IntPtr intptr_2);
Exemplo n.º 4
0
 public static extern IntPtr CreateNamedPipe(string string_0, GEnum3 genum3_0, GEnum4 genum4_0, uint uint_4, uint uint_5, uint uint_6, uint uint_7, IntPtr intptr_0);