public UnitSizeTypeSet(UnitSizeTypeSet other) : this(bwapiPINVOKE.new_UnitSizeTypeSet__SWIG_1(UnitSizeTypeSet.getCPtr(other)), true) { if (bwapiPINVOKE.SWIGPendingException.Pending) { throw bwapiPINVOKE.SWIGPendingException.Retrieve(); } }
public UnitSizeTypeSetEnumerator(UnitSizeTypeSet collection) { collectionRef = collection; keyCollection = new global::System.Collections.Generic.List <UnitSizeType>(collection.Values); currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
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); }
public static UnitSizeTypeSet allUnitSizeTypes() { UnitSizeTypeSet ret = new UnitSizeTypeSet(bwapiPINVOKE.allUnitSizeTypes(), false); return ret; }