Esempio n. 1
0
 public virtual BulletType getType() {
   BulletType ret = new BulletType(bwapiPINVOKE.Bullet_getType(swigCPtr), true);
   return ret;
 }
Esempio n. 2
0
 public static BulletType getBulletType(string name) {
   BulletType ret = new BulletType(bwapiPINVOKE.getBulletType(name), true);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public BulletType opAssign(BulletType other) {
   BulletType ret = new BulletType(bwapiPINVOKE.BulletType_opAssign(swigCPtr, BulletType.getCPtr(other)), false);
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public BulletType(BulletType other) : this(bwapiPINVOKE.new_BulletType__SWIG_2(BulletType.getCPtr(other)), true) {
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
 }
public bool Equals(BulletType obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
 internal static HandleRef getCPtr(BulletType obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public bool opLessThan(BulletType other) {
   bool ret = bwapiPINVOKE.BulletType_opLessThan(swigCPtr, BulletType.getCPtr(other));
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }