public int callProcessCommand(ulong serverConnectionHandlerID, IntPtr command) { int result = 1;// 1 = not handled if (processCommand != null) processCommand(serverConnectionHandlerID, command.UTF8(), ref result); return result; }
public void callOnClientSelfVariableUpdateEvent(ulong serverConnectionHandlerID, int flag, IntPtr oldValue, IntPtr newValue) { if(onClientSelfVariableUpdateEvent != null) onClientSelfVariableUpdateEvent(serverConnectionHandlerID, flag, oldValue.UTF8(), newValue.UTF8()); }