public void RegisterToNative()
 {
     _tick          = Tick;
     _copyFrom      = CopyFrom;
     _eventCallback = QueueAction;
     _reload        = Reload;
     _serialize     = Serialize;
     _deserialize   = DeSerialize;
     _register      = RegisterCScript;
     _unregister    = UnRegisterCScript;
     inst           = this;
     if (IsRegistering != null)
     {
         IsRegistering(this, null);
     }
     MochaInterface.ScriptSubsystem.getInstance().Register_Callbacks(_tick, _copyFrom, _eventCallback, _reload,
                                                                     _serialize, _deserialize, _register, _unregister, _focus, _unfocus);
 }
Beispiel #2
0
 public static extern void ScriptSubsystem_Register_Callbacks(global::System.Runtime.InteropServices.HandleRef jarg1, NativeMochaDotNetCallback jarg2, NativeMochaDotNetCScriptCopyCallback jarg3, NativeMochaDotNetCScriptEventCallback jarg4, NativeMochaDotNetCallback jarg5, NativeMochaDotNetCallback jarg6, NativeMochaDotNetCallback jarg7, NativeMochaDotNetCScriptCallback jarg8, NativeMochaDotNetCScriptCallback jarg9, NativeMochaDotNetCallback jarg10, NativeMochaDotNetCallback jarg11);
Beispiel #3
0
 public void Register_Callbacks(NativeMochaDotNetCallback _tickcallback, NativeMochaDotNetCScriptCopyCallback _copyFromCallback, NativeMochaDotNetCScriptEventCallback _eventQueueCallback, NativeMochaDotNetCallback _reloadCallback, NativeMochaDotNetCallback _serialize, NativeMochaDotNetCallback _deserialize, NativeMochaDotNetCScriptCallback _registerCallback, NativeMochaDotNetCScriptCallback _unregCallback, NativeMochaDotNetCallback _FocusCallback, NativeMochaDotNetCallback _UnFocusCallback)
 {
     SharpMochaPINVOKE.ScriptSubsystem_Register_Callbacks(swigCPtr, _tickcallback, _copyFromCallback, _eventQueueCallback, _reloadCallback, _serialize, _deserialize, _registerCallback, _unregCallback, _FocusCallback, _UnFocusCallback);
 }
Beispiel #4
0
 public void Register_Callbacks(NativeMochaDotNetCallback _tickcallback, NativeMochaDotNetCScriptCopyCallback _copyFromCallback, NativeMochaDotNetCScriptEventCallback _eventQueueCallback, NativeMochaDotNetCallback _reloadCallback, NativeMochaDotNetCallback _serialize, NativeMochaDotNetCallback _deserialize, NativeMochaDotNetCScriptCallback _registerCallback, NativeMochaDotNetCScriptCallback _unregCallback, NativeMochaDotNetCallback _FocusCallback, NativeMochaDotNetCallback _UnFocusCallback)
 {
     SharpMochaPINVOKE.ScriptSubsystem_Register_Callbacks(swigCPtr, _tickcallback, _copyFromCallback, _eventQueueCallback, _reloadCallback, _serialize, _deserialize, _registerCallback, _unregCallback, _FocusCallback, _UnFocusCallback);
 }