示例#1
0
 public TechTypeSet(TechTypeSet other) : this(bwapiPINVOKE.new_TechTypeSet__SWIG_1(TechTypeSet.getCPtr(other)), true)
 {
     if (bwapiPINVOKE.SWIGPendingException.Pending)
     {
         throw bwapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public TechTypeSetEnumerator(TechTypeSet collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <TechType>(collection.Values);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public TechTypeSet abilities() {
   TechTypeSet ret = new TechTypeSet(bwapiPINVOKE.UnitType_abilities(swigCPtr), false);
   return ret;
 }
示例#4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TechTypeSet obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
示例#5
0
 public static TechTypeSet allTechTypes() {
   TechTypeSet ret = new TechTypeSet(bwapiPINVOKE.allTechTypes(), false);
   return ret;
 }
        public TechTypeSet abilities()
        {
            TechTypeSet ret = new TechTypeSet(bwapiPINVOKE.UnitType_abilities(swigCPtr), false);

            return(ret);
        }