public CWeapon(CWeaponProfile Profile) : this(testPINVOKE.new_CWeapon__SWIG_1(CWeaponProfile.getCPtr(Profile)), true) { if (testPINVOKE.SWIGPendingException.Pending) { throw testPINVOKE.SWIGPendingException.Retrieve(); } }
public CWeapon(CWeaponProfile Profile, SWIGTYPE_p_Core__Physics__IPhysicsStrategy Physics) : this(testPINVOKE.new_CWeapon__SWIG_0(CWeaponProfile.getCPtr(Profile), SWIGTYPE_p_Core__Physics__IPhysicsStrategy.getCPtr(Physics)), true) { if (testPINVOKE.SWIGPendingException.Pending) { throw testPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddProfile(CWeaponProfile Profile) { testPINVOKE.CItemsManager_AddProfile__SWIG_1(swigCPtr, CWeaponProfile.getCPtr(Profile)); if (testPINVOKE.SWIGPendingException.Pending) { throw testPINVOKE.SWIGPendingException.Retrieve(); } }
internal static HandleRef getCPtr(CWeaponProfile obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }