public CProjectile(CProjectileProfile Profile, CWeapon Weapon, bool IsVisible, bool UsePhysics) : this(testPINVOKE.new_CProjectile__SWIG_0(CProjectileProfile.getCPtr(Profile), CWeapon.getCPtr(Weapon), IsVisible, UsePhysics), true) { if (testPINVOKE.SWIGPendingException.Pending) { throw testPINVOKE.SWIGPendingException.Retrieve(); } }
public CProjectile(CProjectileProfile Profile, CWeapon Weapon) : this(testPINVOKE.new_CProjectile__SWIG_2(CProjectileProfile.getCPtr(Profile), CWeapon.getCPtr(Weapon)), true) { if (testPINVOKE.SWIGPendingException.Pending) { throw testPINVOKE.SWIGPendingException.Retrieve(); } }
internal static HandleRef getCPtr(CProjectileProfile obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }