コード例 #1
0
ファイル: Heartbeat.cs プロジェクト: tervus/ThwargLauncher
 void OnChannelFileWatcherChanged(object sender, System.IO.FileSystemEventArgs e)
 {
     log.WriteInfo("Channel File Watcher Fired");
     Heartbeat.SendAndReceiveImmediately();
 }
コード例 #2
0
 private void AddLoginCmdGlobalCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_AddLoginCmdGlobal + command);
     Heartbeat.SendAndReceiveImmediately();
 }
コード例 #3
0
 private void KillAllClientsCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_KillAllClients);
     Heartbeat.SendAndReceiveImmediately();
 }
コード例 #4
0
 private void UnlockWindowPositionCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_UnlockWindowPosition);
     Heartbeat.SendAndReceiveImmediately();
     Debug.WriteToChat("The window positions are unlocked, moving windows will now save their position.");
 }
コード例 #5
0
 private void LockWindowPositionCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_LockWindowPosition);
     Heartbeat.SendAndReceiveImmediately();
     Debug.WriteToChat("The window positions are saved and will no longer be modified.");
 }
コード例 #6
0
 private void DisableWindowPositionCommandHandler(string command)
 {
     Heartbeat.SendCommand(CMD_DisableWindowPosition);
     Heartbeat.SendAndReceiveImmediately();
     Debug.WriteToChat("The window positions will no longer be saved or restored.");
 }