示例#1
0
 public UnitTypeSet(UnitTypeSet other) : this(bwapiPINVOKE.new_UnitTypeSet__SWIG_1(UnitTypeSet.getCPtr(other)), true)
 {
     if (bwapiPINVOKE.SWIGPendingException.Pending)
     {
         throw bwapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public UnitTypeSetEnumerator(UnitTypeSet collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <UnitType>(collection.Values);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public UnitTypeSet whatUses() {
   UnitTypeSet ret = new UnitTypeSet(bwapiPINVOKE.TechType_whatUses(swigCPtr), false);
   return ret;
 }
示例#4
0
        public UnitTypeSet whatUses()
        {
            UnitTypeSet ret = new UnitTypeSet(bwapiPINVOKE.UpgradeType_whatUses(swigCPtr), false);

            return(ret);
        }
示例#5
0
 public static UnitTypeSet allMacroTypes() {
   UnitTypeSet ret = new UnitTypeSet(bwapiPINVOKE.allMacroTypes(), false);
   return ret;
 }
示例#6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UnitTypeSet obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }