public DamageTypeSet(DamageTypeSet other) : this(bwapiPINVOKE.new_DamageTypeSet__SWIG_1(DamageTypeSet.getCPtr(other)), true)
 {
     if (bwapiPINVOKE.SWIGPendingException.Pending)
     {
         throw bwapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public DamageTypeSetEnumerator(DamageTypeSet collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <DamageType>(collection.Values);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DamageTypeSet obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #4
0
 public static DamageTypeSet allDamageTypes() {
   DamageTypeSet ret = new DamageTypeSet(bwapiPINVOKE.allDamageTypes(), false);
   return ret;
 }