Example #1
0
    public SWIGTYPE_p_Timer GetTimer()
    {
        IntPtr           cPtr = testPINVOKE.CGameManager_GetTimer(swigCPtr);
        SWIGTYPE_p_Timer ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Timer(cPtr, false);

        return(ret);
    }
Example #2
0
    public Result ResetTimer(SWIGTYPE_p_Timer tmr, uint newinterval)
    {
        Result ret = new Result(IronSightEnginePINVOKE.Engine_ResetTimer(swigCPtr, SWIGTYPE_p_Timer.getCPtr(tmr), newinterval), true);

        //
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #3
0
 public void RemoveTimer(SWIGTYPE_p_Timer tmr)
 {
     IronSightEnginePINVOKE.Engine_RemoveTimer(swigCPtr, SWIGTYPE_p_Timer.getCPtr(tmr));
 }
Example #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Timer obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #5
0
 internal static HandleRef getCPtr(SWIGTYPE_p_Timer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
    public Result ResetTimer(SWIGTYPE_p_Timer tmr, uint newinterval)
    {
        Result ret = new Result(ISMathPINVOKE.Engine_ResetTimer(swigCPtr, SWIGTYPE_p_Timer.getCPtr(tmr), newinterval), true);

        return(ret);
    }
Example #7
0
 public void RemoveTimer(SWIGTYPE_p_Timer tmr)
 {
     ISMathPINVOKE.EnginePtr_RemoveTimer(swigCPtr, SWIGTYPE_p_Timer.getCPtr(tmr));
 }