private void SignalIPCEvent(int SourcePlayerId, int SourceServerId, int DestinationPlayerId, int DestinationServerId, int EventType, string EventText)
{
if (EventText.Length > ACR_SERVER_IPC_MAX_EVENT_LENGTH)
throw new ApplicationException("IPC event text too long:" + EventText);
GameWorldManager.IPC_EVENT Event = new GameWorldManager.IPC_EVENT();
Event.SourcePlayerId = SourcePlayerId;
Event.SourceServerId = SourceServerId;
Event.DestinationPlayerId = DestinationPlayerId;
Event.DestinationServerId = DestinationServerId;
Event.EventType = EventType;
Event.EventText = EventText;
lock (WorldManager)
{
WorldManager.SignalIPCEvent(Event);
}
WorldManager.SignalIPCEventWakeup();
}