예제 #1
0
 internal static void NetClientSend(IntPtr pDataStore)
 {
     if (NetClientSendFunction == null)
     {
         NetClientSendFunction = Memory.Reader.RegisterDelegate <NetClientSendDelegate>(funcs.NetClientSend);
     }
     NetClientSendFunction(ClientConnection(), pDataStore.ToInt32());
 }
예제 #2
0
 internal static void NetClientSend(IntPtr pDataStore)
 {
     if (!ObjectManager.Instance.IsIngame)
     {
         return;
     }
     if (NetClientSendFunction == null)
     {
         NetClientSendFunction = Memory.Reader.RegisterDelegate <NetClientSendDelegate>(funcs.NetClientSend);
     }
     MainThread.Instance.Invoke(() => NetClientSendFunction(ClientConnection(), pDataStore.ToInt32()));
 }