예제 #1
0
 public UnitSizeTypeSet(UnitSizeTypeSet other) : this(bwapiPINVOKE.new_UnitSizeTypeSet__SWIG_1(UnitSizeTypeSet.getCPtr(other)), true)
 {
     if (bwapiPINVOKE.SWIGPendingException.Pending)
     {
         throw bwapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public UnitSizeTypeSetEnumerator(UnitSizeTypeSet collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <UnitSizeType>(collection.Values);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UnitSizeTypeSet obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #4
0
 public static UnitSizeTypeSet allUnitSizeTypes() {
   UnitSizeTypeSet ret = new UnitSizeTypeSet(bwapiPINVOKE.allUnitSizeTypes(), false);
   return ret;
 }