public PlayerTypeSet(PlayerTypeSet other) : this(bwapiPINVOKE.new_PlayerTypeSet__SWIG_1(PlayerTypeSet.getCPtr(other)), true) { if (bwapiPINVOKE.SWIGPendingException.Pending) { throw bwapiPINVOKE.SWIGPendingException.Retrieve(); } }
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; }
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); }