Exemplo n.º 1
0
            internal static void setDirty(IntPtr thisPtr, int argc, string[] argv)
            {
                if (_setDirtyFunc == null)
                {
                    _setDirtyFunc =
                        (_setDirty)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                              "fn_Component_setDirty"), typeof(_setDirty));
                }

                _setDirtyFunc(thisPtr, argc, argv);
            }
Exemplo n.º 2
0
            internal static void setDirty(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string objName, [MarshalAs(UnmanagedType.LPWStr)] string fileName)
            {
                if (_setDirtyFunc == null)
                {
                    _setDirtyFunc =
                        (_setDirty)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                              "fn_PersistenceManager_setDirty"), typeof(_setDirty));
                }

                _setDirtyFunc(thisPtr, objName, fileName);
            }