mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
General formatting and cleanup.
This commit is contained in:
parent
2b46397e8e
commit
12ee42df8e
29 changed files with 289 additions and 197 deletions
|
|
@ -2,14 +2,15 @@ using System;
|
|||
|
||||
namespace Penumbra.GameData.Structs
|
||||
{
|
||||
public readonly struct SetId : IComparable<SetId>
|
||||
public readonly struct SetId : IComparable< SetId >
|
||||
{
|
||||
public readonly ushort Value;
|
||||
|
||||
public SetId( ushort value )
|
||||
=> Value = value;
|
||||
|
||||
public static implicit operator SetId( ushort id ) => new(id);
|
||||
public static implicit operator SetId( ushort id )
|
||||
=> new( id );
|
||||
|
||||
public static explicit operator ushort( SetId id )
|
||||
=> id.Value;
|
||||
|
|
@ -20,4 +21,4 @@ namespace Penumbra.GameData.Structs
|
|||
public int CompareTo( SetId other )
|
||||
=> Value.CompareTo( other.Value );
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue