private void OnOnlineStatusChange(object sender, OnlineStatusChangedArgs ev) { if (ev.Target != repo.GetPlayerID()) { return; } var cutsceneStatus = ev.Status == 15; if (cutsceneStatus != inCutscene) { inCutscene = cutsceneStatus; string msg; if (cutsceneStatus) { msg = "Entered cutscene"; } else { msg = "Left cutscene"; } WriteLogMessage(msg); } }
private void OnOnlineStatusChange(object sender, OnlineStatusChangedArgs ev) { if (ev.Target != repo.GetPlayerID()) { return; } var cutsceneStatus = ev.Status == 15; if (cutsceneStatus != inCutscene) { inCutscene = cutsceneStatus; string msg; if (cutsceneStatus) { msg = "Entered cutscene"; } else { msg = "Left cutscene"; } var time = DateTime.Now; var line = new string[] { "00", time.ToString(), "c0fe", "", "OPLine: " + msg, "" }; ActGlobals.oFormActMain.ParseRawLogLine(false, time, string.Join("|", line)); } }