Example #1
0
 public CMagazine(CMagazineProfile Profile, CWeapon Weapon) : this(testPINVOKE.new_CMagazine(CMagazineProfile.getCPtr(Profile), CWeapon.getCPtr(Weapon)), true)
 {
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 internal static HandleRef getCPtr(CMagazineProfile obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }