mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-25 22:10:22 +00:00
BXLAN : Fix setters/getters for frame size and loop data.
This commit is contained in:
parent
6deffec924
commit
1d77d99968
1 changed files with 13 additions and 9 deletions
|
@ -1829,8 +1829,19 @@ namespace LayoutBXLYT
|
|||
|
||||
public class BxlanPAI1 : SectionCommon
|
||||
{
|
||||
public ushort FrameSize;
|
||||
public bool Loop;
|
||||
[DisplayName("Frame Count"), CategoryAttribute("Frames")]
|
||||
public ushort FrameSize { get; set; }
|
||||
|
||||
[DisplayName("Loop"), CategoryAttribute("Frames")]
|
||||
public bool Loop { get; set; }
|
||||
|
||||
[Editor(@"System.Windows.Forms.Design.StringCollectionEditor," +
|
||||
"System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
|
||||
typeof(System.Drawing.Design.UITypeEditor))]
|
||||
[DisplayName("Textures"), CategoryAttribute("Textures")]
|
||||
public List<string> Textures { get; set; } = new List<string>();
|
||||
|
||||
public List<BxlanPaiEntry> Entries = new List<BxlanPaiEntry>();
|
||||
|
||||
public bool ContainsEntry(string name)
|
||||
{
|
||||
|
@ -1841,13 +1852,6 @@ namespace LayoutBXLYT
|
|||
{
|
||||
return new BxlanPaiEntry();
|
||||
}
|
||||
|
||||
[Editor(@"System.Windows.Forms.Design.StringCollectionEditor," +
|
||||
"System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
|
||||
typeof(System.Drawing.Design.UITypeEditor))]
|
||||
public List<string> Textures { get; set; } = new List<string>();
|
||||
|
||||
public List<BxlanPaiEntry> Entries = new List<BxlanPaiEntry>();
|
||||
}
|
||||
|
||||
public class BxlanPaiEntry
|
||||
|
|
Loading…
Reference in a new issue