public ExplosionType(ExplosionType other) : this(bwapiPINVOKE.new_ExplosionType__SWIG_2(ExplosionType.getCPtr(other)), true) {
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
 }
 public ExplosionType opAssign(ExplosionType other) {
   ExplosionType ret = new ExplosionType(bwapiPINVOKE.ExplosionType_opAssign(swigCPtr, ExplosionType.getCPtr(other)), false);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
public bool Equals(ExplosionType obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
 internal static HandleRef getCPtr(ExplosionType obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public bool opLessThan(ExplosionType other) {
   bool ret = bwapiPINVOKE.ExplosionType_opLessThan(swigCPtr, ExplosionType.getCPtr(other));
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 6
0
 public static ExplosionType getExplosionType(string name) {
   ExplosionType ret = new ExplosionType(bwapiPINVOKE.getExplosionType(name), true);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 7
0
 public ExplosionType explosionType() {
   ExplosionType ret = new ExplosionType(bwapiPINVOKE.WeaponType_explosionType(swigCPtr), true);
   return ret;
 }