-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
16,357 additions
and
11,930 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ian.API/Registry/Codecs/Chat/ChatCodec.cs → ...API/Registry/Codecs/Chat/ChatTypeCodec.cs
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
11 changes: 11 additions & 0 deletions
11
Obsidian.API/Registry/Codecs/PaintingVariant/PaintingVariantCodec.cs
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,11 @@ | ||
namespace Obsidian.API.Registry.Codecs.PaintingVariant; | ||
public sealed class PaintingVariantCodec : ICodec | ||
{ | ||
public required string Name { get; init; } | ||
|
||
public required int Id { get; init; } | ||
|
||
public PaintingVariantElement Element { get; internal set; } = new(); | ||
|
||
internal PaintingVariantCodec() { } | ||
} |
8 changes: 8 additions & 0 deletions
8
Obsidian.API/Registry/Codecs/PaintingVariant/PaintingVariantElement.cs
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,8 @@ | ||
namespace Obsidian.API.Registry.Codecs.PaintingVariant; | ||
public sealed record class PaintingVariantElement | ||
{ | ||
public string AssetId { get; set; } = default!; | ||
|
||
public int Height { get; set; } | ||
public int Width { get; set; } | ||
} |
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.