-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update framework version, add 0a opcode, fix unknown10 unknown2 opcod…
…e creation
- Loading branch information
Showing
12 changed files
with
94 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/G2DataGUI.Common/Data/Maps/MapDialogueOpcodes/Unknown0AOpcode.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System.IO; | ||
using G2DataGUI.IO.Streams; | ||
|
||
namespace G2DataGUI.Common.Data.Maps.MapDialogueOpcodes; | ||
|
||
public class Unknown0AOpcode : IMapDialogueOpcode | ||
{ | ||
public DialogueOpcode Opcode { get; set; } = DialogueOpcode.Unknown0A; | ||
public byte Unknown1 { get; set; } | ||
public byte Unknown2 { get; set; } | ||
public byte Unknown3 { get; set; } | ||
public byte Unknown4 { get; set; } | ||
public byte Unknown5 { get; set; } | ||
public byte Unknown6 { get; set; } | ||
|
||
public static IMapDialogueOpcode ReadOpcode(Stream reader) | ||
{ | ||
return new Unknown0AOpcode() | ||
{ | ||
Unknown1 = reader.ReadRawByte(), | ||
Unknown2 = reader.ReadRawByte(), | ||
Unknown3 = reader.ReadRawByte(), | ||
Unknown4 = reader.ReadRawByte(), | ||
Unknown5 = reader.ReadRawByte(), | ||
Unknown6 = reader.ReadRawByte(), | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/G2DataGUI.Tests.Integration/G2DataGUI.Tests.Integration.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters