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