Skip to content

Commit

Permalink
Update component schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
dextercd committed Jun 9, 2024
1 parent 3547e2e commit 69af3b8
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 31 deletions.
6 changes: 6 additions & 0 deletions data/component_beta_documentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -4688,6 +4688,12 @@
"name": "mIsExtension",
"example": "0 [0, 1]",
"description": "If 1, this is an effect extension and shouldn't create an extension when removed"
},
{
"type": "bool",
"name": "mIsSpent",
"example": "0 [0, 1]",
"description": "NOTE( Petri ): 29.4.2024 - this is used internally to make RESPAWN perk disabled in the UI"
}
],
"custom_data_types": [
Expand Down
76 changes: 45 additions & 31 deletions data/component_main_documentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,12 @@
"privates": [
{
"type": "Biome*",
"name": "current_biome",
"name": "unsafe_current_biome",
"description": "DO NOT ACCESS, since this can be in valid"
},
{
"type": "std::string",
"name": "current_biome_name",
"description": "used to track in which biome we are at"
}
]
Expand Down Expand Up @@ -1843,6 +1848,38 @@
}
]
},
{
"name": "BossHealthBarComponent",
"members": [
{
"type": "bool",
"name": "gui",
"example": "1 [0, 1]"
},
{
"type": "bool",
"name": "gui_special_final_boss",
"example": "0 [0, 1]"
},
{
"type": "bool",
"name": "in_world",
"example": "0 [0, 1]"
},
{
"type": "float",
"name": "gui_max_distance_visible",
"example": "600 [0, 1]"
}
],
"privates": [
{
"type": "bool",
"name": "mOldSpritesDestroyed",
"example": "0 [0, 1]"
}
]
},
{
"name": "CameraBoundComponent",
"members": [
Expand Down Expand Up @@ -4651,6 +4688,12 @@
"name": "mIsExtension",
"example": "0 [0, 1]",
"description": "If 1, this is an effect extension and shouldn't create an extension when removed"
},
{
"type": "bool",
"name": "mIsSpent",
"example": "0 [0, 1]",
"description": "NOTE( Petri ): 29.4.2024 - this is used internally to make RESPAWN perk disabled in the UI"
}
],
"custom_data_types": [
Expand Down Expand Up @@ -4939,36 +4982,7 @@
]
},
{
"name": "HealthBarComponent",
"members": [
{
"type": "bool",
"name": "gui",
"example": "1 [0, 1]"
},
{
"type": "bool",
"name": "gui_special_final_boss",
"example": "0 [0, 1]"
},
{
"type": "bool",
"name": "in_world",
"example": "0 [0, 1]"
},
{
"type": "float",
"name": "gui_max_distance_visible",
"example": "600 [0, 1]"
}
],
"privates": [
{
"type": "bool",
"name": "mOldSpritesDestroyed",
"example": "0 [0, 1]"
}
]
"name": "HealthBarComponent"
},
{
"name": "HitEffectComponent",
Expand Down

0 comments on commit 69af3b8

Please sign in to comment.