public UnitCommandTypeSet(UnitCommandTypeSet other) : this(bwapiPINVOKE.new_UnitCommandTypeSet__SWIG_1(UnitCommandTypeSet.getCPtr(other)), true)
 {
     if (bwapiPINVOKE.SWIGPendingException.Pending)
     {
         throw bwapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public UnitCommandTypeSetEnumerator(UnitCommandTypeSet collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <UnitCommandType>(collection.Values);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public static UnitCommandTypeSet allUnitCommandTypes() {
   UnitCommandTypeSet ret = new UnitCommandTypeSet(bwapiPINVOKE.allUnitCommandTypes(), false);
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UnitCommandTypeSet obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }