Beispiel #1
0
 public UpgradeTypeSet(UpgradeTypeSet other) : this(bwapiPINVOKE.new_UpgradeTypeSet__SWIG_1(UpgradeTypeSet.getCPtr(other)), true)
 {
     if (bwapiPINVOKE.SWIGPendingException.Pending)
     {
         throw bwapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public UpgradeTypeSetEnumerator(UpgradeTypeSet collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <UpgradeType>(collection.Values);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 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);
 }
Beispiel #4
0
 public UpgradeTypeSet upgrades() {
   UpgradeTypeSet ret = new UpgradeTypeSet(bwapiPINVOKE.UnitType_upgrades(swigCPtr), false);
   return ret;
 }
Beispiel #5
0
 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);
        }