Skip to content

Commit

Permalink
Quicktypes
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Jan 15, 2024
1 parent 60062d6 commit fcdd401
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 20 deletions.
9 changes: 5 additions & 4 deletions docs/quicktype/LdtkJson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2414,10 +2414,11 @@ namespace quicktype {

public:
/**
* A single lowercase character tipping on the level location (`n`orth, `s`outh, `w`est,
* `e`ast).<br/> Since 1.4.0, this character value can also be `<` (neighbour depth is
* lower), `>` (neighbour depth is greater) or `o` (levels overlap and share the same world
* depth).
* A lowercase string tipping on the level location (`n`orth, `s`outh, `w`est,
* `e`ast).<br/> Since 1.4.0, this value can also be `<` (neighbour depth is lower), `>`
* (neighbour depth is greater) or `o` (levels overlap and share the same world
* depth).<br/> Since 1.5.3, this value can also be `nw`,`ne`,`sw` or `se` for levels only
* touching corners.
*/
const std::string & get_dir() const { return dir; }
std::string & get_mutable_dir() { return dir; }
Expand Down
9 changes: 5 additions & 4 deletions docs/quicktype/LdtkJson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2182,10 +2182,11 @@ public partial class LevelBackgroundPosition
public partial class NeighbourLevel
{
/// <summary>
/// A single lowercase character tipping on the level location (`n`orth, `s`outh, `w`est,
/// `e`ast).<br/> Since 1.4.0, this character value can also be `<` (neighbour depth is
/// lower), `>` (neighbour depth is greater) or `o` (levels overlap and share the same world
/// depth).
/// A lowercase string tipping on the level location (`n`orth, `s`outh, `w`est,
/// `e`ast).<br/> Since 1.4.0, this value can also be `<` (neighbour depth is lower), `>`
/// (neighbour depth is greater) or `o` (levels overlap and share the same world
/// depth).<br/> Since 1.5.3, this value can also be `nw`,`ne`,`sw` or `se` for levels only
/// touching corners.
/// </summary>
[JsonProperty("dir")]
public string Dir { get; set; }
Expand Down
9 changes: 5 additions & 4 deletions docs/quicktype/LdtkJson.go
Original file line number Diff line number Diff line change
Expand Up @@ -905,10 +905,11 @@ type LevelBackgroundPosition struct {

// Nearby level info
type NeighbourLevel struct {
// A single lowercase character tipping on the level location (`n`orth, `s`outh, `w`est,
// `e`ast).<br/> Since 1.4.0, this character value can also be `<` (neighbour depth is
// lower), `>` (neighbour depth is greater) or `o` (levels overlap and share the same world
// depth).
// A lowercase string tipping on the level location (`n`orth, `s`outh, `w`est,
// `e`ast).<br/> Since 1.4.0, this value can also be `<` (neighbour depth is lower), `>`
// (neighbour depth is greater) or `o` (levels overlap and share the same world
// depth).<br/> Since 1.5.3, this value can also be `nw`,`ne`,`sw` or `se` for levels only
// touching corners.
Dir string `json:"dir"`
// Neighbour Instance Identifier
LevelIid string `json:"levelIid"`
Expand Down
9 changes: 5 additions & 4 deletions docs/quicktype/LdtkJson.py
Original file line number Diff line number Diff line change
Expand Up @@ -2025,10 +2025,11 @@ class BgPos(Enum):
class NeighbourLevel:
"""Nearby level info"""
dir: str
"""A single lowercase character tipping on the level location (`n`orth, `s`outh, `w`est,
`e`ast).<br/> Since 1.4.0, this character value can also be `<` (neighbour depth is
lower), `>` (neighbour depth is greater) or `o` (levels overlap and share the same world
depth).
"""A lowercase string tipping on the level location (`n`orth, `s`outh, `w`est,
`e`ast).<br/> Since 1.4.0, this value can also be `<` (neighbour depth is lower), `>`
(neighbour depth is greater) or `o` (levels overlap and share the same world
depth).<br/> Since 1.5.3, this value can also be `nw`,`ne`,`sw` or `se` for levels only
touching corners.
"""
level_iid: str
"""Neighbour Instance Identifier"""
Expand Down
9 changes: 5 additions & 4 deletions docs/quicktype/LdtkJson.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1590,10 +1590,11 @@ pub enum BgPos {
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct NeighbourLevel {
/// A single lowercase character tipping on the level location (`n`orth, `s`outh, `w`est,
/// `e`ast).<br/> Since 1.4.0, this character value can also be `<` (neighbour depth is
/// lower), `>` (neighbour depth is greater) or `o` (levels overlap and share the same world
/// depth).
/// A lowercase string tipping on the level location (`n`orth, `s`outh, `w`est,
/// `e`ast).<br/> Since 1.4.0, this value can also be `<` (neighbour depth is lower), `>`
/// (neighbour depth is greater) or `o` (levels overlap and share the same world
/// depth).<br/> Since 1.5.3, this value can also be `nw`,`ne`,`sw` or `se` for levels only
/// touching corners.
pub dir: String,

/// Neighbour Instance Identifier
Expand Down

0 comments on commit fcdd401

Please sign in to comment.