Ejemplo n.º 1
0
 public UnitTypeIntMap(UnitTypeIntMap other) : this(bwapiPINVOKE.new_UnitTypeIntMap__SWIG_1(UnitTypeIntMap.getCPtr(other)), true)
 {
     if (bwapiPINVOKE.SWIGPendingException.Pending)
     {
         throw bwapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public UnitTypeIntMapEnumerator(UnitTypeIntMap collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <UnitType>(collection.Keys);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public UnitTypeIntMap requiredUnits() {
   UnitTypeIntMap ret = new UnitTypeIntMap(bwapiPINVOKE.UnitType_requiredUnits(swigCPtr), false);
   return ret;
 }
Ejemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UnitTypeIntMap obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 5
0
        public UnitTypeIntMap requiredUnits()
        {
            UnitTypeIntMap ret = new UnitTypeIntMap(bwapiPINVOKE.UnitType_requiredUnits(swigCPtr), false);

            return(ret);
        }