mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Group instances
This commit is contained in:
@@ -239,7 +239,8 @@ namespace VRCX
|
||||
ParseLogOnAudioConfigurationChanged(fileInfo, logContext, line, offset) ||
|
||||
ParseLogScreenshot(fileInfo, logContext, line, offset) ||
|
||||
ParseLogStringDownload(fileInfo, logContext, line, offset) ||
|
||||
ParseLogImageDownload(fileInfo, logContext, line, offset))
|
||||
ParseLogImageDownload(fileInfo, logContext, line, offset) ||
|
||||
ParseVoteKick(fileInfo, logContext, line, offset))
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1057,6 +1058,24 @@ namespace VRCX
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool ParseVoteKick(FileInfo fileInfo, LogContext logContext, string line, int offset)
|
||||
{
|
||||
// 2023.06.02 01:08:04 Log - [Behaviour] Received executive message: You have been kicked from the instance by majority vote
|
||||
// 2023.06.02 01:11:58 Log - [Behaviour] You have been kicked from this world for an hour.
|
||||
|
||||
if (string.Compare(line, offset, "[Behaviour] Received executive message: ", 0, 40, StringComparison.Ordinal) != 0)
|
||||
return false;
|
||||
|
||||
AppendLog(new[]
|
||||
{
|
||||
fileInfo.Name,
|
||||
ConvertLogTimeToISO8601(line),
|
||||
"event",
|
||||
line.Substring(offset + 40)
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
public string[][] Get()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user