Beispiel #1
0
 public CWeapon(CWeaponProfile Profile) : this(testPINVOKE.new_CWeapon__SWIG_1(CWeaponProfile.getCPtr(Profile)), true)
 {
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 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();
     }
 }
Beispiel #3
0
 public void AddProfile(CWeaponProfile Profile)
 {
     testPINVOKE.CItemsManager_AddProfile__SWIG_1(swigCPtr, CWeaponProfile.getCPtr(Profile));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
 internal static HandleRef getCPtr(CWeaponProfile obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }