Skip to content

Commit

Permalink
Allow invalid facing direction (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee authored Dec 25, 2023
1 parent 1c3f889 commit 0b3f09b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions YAMS-LIB/SeedObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public enum DoorFacingDirection
Left,
[EnumMember(Value = "right")]
Right,
[EnumMember(Value = "invalid")]
Invalid,
}

public class DoorLock
Expand All @@ -68,6 +70,7 @@ public class DoorLock
[JsonPropertyName("lock")]
public DoorLockType Lock;

// TODO: add these two to the schema.
[JsonInclude]
[JsonPropertyName("is_dock")]
public bool isDock;
Expand Down

0 comments on commit 0b3f09b

Please sign in to comment.