Skip to content

Commit

Permalink
Add some extra manual alignments to fix two test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyman192 committed Apr 26, 2024
1 parent ae9468d commit 428e551
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Tools/auto_extract/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@
EXTRA_ATTRIBUTES = {
'GcPlayerClothComponentData': ', Alignment = 0x10',
'GcClothComponentData': ', Alignment = 0x10',
'GcMultiColouriseComponentData': ', Alignment = 0x10',
'GcScanEffectComponentData': ', Alignment = 0x10',
}
# List of classes to avoid overwriting as the have custom deserialisation
# methods.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x2CF16B949B560BF, NameHash = 0x9D50983DD366009C)]
[NMS(GUID = 0x2CF16B949B560BF, NameHash = 0x9D50983DD366009C, Alignment = 0x10)]
public class GcMultiColouriseComponentData : NMSTemplate
{
[NMS(Index = 0)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace libMBIN.NMS.GameComponents
{
[NMS(GUID = 0x7958D3C49BD96694, NameHash = 0x1FE13AB26770D8C5)]
[NMS(GUID = 0x7958D3C49BD96694, NameHash = 0x1FE13AB26770D8C5, Alignment = 0x10)]
public class GcScanEffectComponentData : NMSTemplate
{
[NMS(Index = 0)]
Expand Down

0 comments on commit 428e551

Please sign in to comment.