修未知指令的十六进制代码
This commit is contained in:
parent
23207b9085
commit
78a7310a3b
@ -136,7 +136,7 @@ namespace AnotherReplayReader.ReplayFile
|
|||||||
|
|
||||||
public static string GetCommandName(byte commandId)
|
public static string GetCommandName(byte commandId)
|
||||||
{
|
{
|
||||||
return _commandNames.TryGetValue(commandId, out var storedName) ? storedName : $"(未知指令 0x{commandId:2X})";
|
return _commandNames.TryGetValue(commandId, out var storedName) ? storedName : $"(未知指令 0x{commandId:X2})";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void UnknownCommandParser(BinaryReader current, byte commandId)
|
public static void UnknownCommandParser(BinaryReader current, byte commandId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user