Пример #1
0
 public virtual BulletType getType() {
   BulletType ret = new BulletType(bwapiPINVOKE.Bullet_getType(swigCPtr), true);
   return ret;
 }
Пример #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;
 }
Пример #3
0
 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;
 }
Пример #4
0
 public BulletType(BulletType other) : this(bwapiPINVOKE.new_BulletType__SWIG_2(BulletType.getCPtr(other)), true) {
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #5
0
public bool Equals(BulletType obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
Пример #6
0
 internal static HandleRef getCPtr(BulletType obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #7
0
 public bool opLessThan(BulletType other) {
   bool ret = bwapiPINVOKE.BulletType_opLessThan(swigCPtr, BulletType.getCPtr(other));
   if (bwapiPINVOKE.SWIGPendingException.Pending) throw bwapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }