示例#1
0
    public SPAWN_POINT GetSpawnPoint(SWIGTYPE_p_Vector3 Position)
    {
        IntPtr      cPtr = testPINVOKE.CSpawnManager_GetSpawnPoint__SWIG_2(swigCPtr, SWIGTYPE_p_Vector3.getCPtr(Position));
        SPAWN_POINT ret  = (cPtr == IntPtr.Zero) ? null : new SPAWN_POINT(cPtr, false);

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#2
0
 internal static HandleRef getCPtr(SPAWN_POINT obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }