public UnitTypeList(UnitTypeList other) : this(bwapiPINVOKE.new_UnitTypeList__SWIG_1(UnitTypeList.getCPtr(other)), true)
 {
     if (bwapiPINVOKE.SWIGPendingException.Pending)
     {
         throw bwapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public UnitTypeListEnumerator(UnitTypeList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     keyCollection = new System.Collections.Generic.List <UnitType>(collection.Values);
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public override UnitTypeList getTrainingQueue() {
   UnitTypeList ret = new UnitTypeList(bwapiclientPINVOKE.UnitImpl_getTrainingQueue(swigCPtr), true);
   return ret;
 }
Ejemplo n.º 4
0
 public virtual UnitTypeList getTrainingQueue() {
   UnitTypeList ret = new UnitTypeList(bwapiPINVOKE.Unit_getTrainingQueue(swigCPtr), true);
   return ret;
 }
Ejemplo n.º 5
0
        public override UnitTypeList getTrainingQueue()
        {
            UnitTypeList ret = new UnitTypeList(bwapiclientPINVOKE.UnitImpl_getTrainingQueue(swigCPtr), true);

            return(ret);
        }
Ejemplo n.º 6
0
        public virtual UnitTypeList getTrainingQueue()
        {
            UnitTypeList ret = new UnitTypeList(bwapiPINVOKE.Unit_getTrainingQueue(swigCPtr), true);

            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UnitTypeList obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }