public UpgradeTypeSet(UpgradeTypeSet other) : this(bwapiPINVOKE.new_UpgradeTypeSet__SWIG_1(UpgradeTypeSet.getCPtr(other)), true) { if (bwapiPINVOKE.SWIGPendingException.Pending) { throw bwapiPINVOKE.SWIGPendingException.Retrieve(); } }
public UpgradeTypeSetEnumerator(UpgradeTypeSet collection) { collectionRef = collection; keyCollection = new global::System.Collections.Generic.List <UpgradeType>(collection.Values); currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UpgradeTypeSet obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public UpgradeTypeSet upgrades() { UpgradeTypeSet ret = new UpgradeTypeSet(bwapiPINVOKE.UnitType_upgrades(swigCPtr), false); return ret; }
public static UpgradeTypeSet allUpgradeTypes() { UpgradeTypeSet ret = new UpgradeTypeSet(bwapiPINVOKE.allUpgradeTypes(), false); return ret; }
public UpgradeTypeSet upgrades() { UpgradeTypeSet ret = new UpgradeTypeSet(bwapiPINVOKE.UnitType_upgrades(swigCPtr), false); return(ret); }