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