Exemplo n.º 1
0
            private void NativeCallback(IntPtr world, csbool duplicateForPIE, IntPtr replacementMap, IntPtr objectsToFixReferences)
            {
                var evnt = managed.Delegate;

                if (evnt != null)
                {
                    evnt(world, duplicateForPIE, replacementMap, objectsToFixReferences);
                }
            }
Exemplo n.º 2
0
            private void NativeCallback(IntPtr world, csbool sessionEnded, csbool cleanupResources)
            {
                var evnt = managed.Delegate;

                if (evnt != null)
                {
                    evnt(world, sessionEnded, cleanupResources);
                }
            }
Exemplo n.º 3
0
            private void NativeCallback(csbool simulating)
            {
                var evnt = managed.Delegate;

                if (evnt != null)
                {
                    evnt(simulating);
                }
            }
Exemplo n.º 4
0
 private void NativeCallback(IntPtr world, csbool sessionEnded, csbool cleanupResources)
 {
     try
     {
         var evnt = managed.Delegate;
         if (evnt != null)
         {
             evnt(world, sessionEnded, cleanupResources);
         }
     }
     catch (Exception e)
     {
         FMessage.LogDelegateException(e);
     }
 }
Exemplo n.º 5
0
 private void NativeCallback(IntPtr world, csbool duplicateForPIE, IntPtr replacementMap, IntPtr objectsToFixReferences)
 {
     try
     {
         var evnt = managed.Delegate;
         if (evnt != null)
         {
             evnt(world, duplicateForPIE, replacementMap, objectsToFixReferences);
         }
     }
     catch (Exception e)
     {
         FMessage.LogDelegateException(e);
     }
 }
Exemplo n.º 6
0
 private void NativeCallback(csbool simulating)
 {
     try
     {
         var evnt = managed.Delegate;
         if (evnt != null)
         {
             evnt(simulating);
         }
     }
     catch (Exception e)
     {
         FMessage.LogDelegateException(e);
     }
 }