-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1092 from Zurphing/modmanager-updates
[ModsManager] Various listpatch additions & fixes
- Loading branch information
Showing
25 changed files
with
5,919 additions
and
2,552 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using Xe.BinaryMapper; | ||
|
||
namespace OpenKh.Kh2.Battle | ||
{ | ||
public class Stop | ||
{ | ||
[Flags] | ||
public enum Flag : uint | ||
{ | ||
Exist = 0x01, | ||
DisableDamageReaction = 0x02, | ||
Star = 0x04, | ||
DisableDraw = 0x08, | ||
} | ||
[Data] public ushort Id { get; set; } | ||
[Data] public Flag Flags { get; set; } | ||
|
||
public static List<Stop> Read(Stream stream) => BaseTable<Stop>.Read(stream); | ||
|
||
public static void Write(Stream stream, IEnumerable<Stop> items) => | ||
BaseTable<Stop>.Write(stream, 2, items); | ||
} | ||
} |
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
Oops, something went wrong.