Skip to content

Commit

Permalink
Fix CardInfo structure size
Browse files Browse the repository at this point in the history
  • Loading branch information
sawich committed Apr 26, 2024
1 parent dbd0188 commit 2319147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace SoulWorkerResearch.SoulCore.DataTypes.Entities;

[StructLayout(LayoutKind.Explicit, Size = sizeof(long))]
[StructLayout(LayoutKind.Explicit, Size = sizeof(uint))]
public readonly struct CardInfoEntity(BinaryReader reader)
{
[field: FieldOffset(0)]
Expand Down
2 changes: 1 addition & 1 deletion SoulWorkerResearch.SoulCore/DataTypes/ServerOptionList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace SoulWorkerResearch.SoulCore.DataTypes;

public sealed class ServerOptionList : List<bool>
{
public static ServerOptionList Empty => new();
public static ServerOptionList Empty => [];

public bool IsAttendanceEnabled => this[ServerOption.Attendance];
public bool IsSecondPasswordEnabled => this[ServerOption.SecondPassword];
Expand Down

0 comments on commit 2319147

Please sign in to comment.