Skip to content

Commit 924e83e

Browse files
Site changes [skip-ci]
1 parent e3e4c55 commit 924e83e

File tree

3 files changed

+82
-0
lines changed

3 files changed

+82
-0
lines changed

_data/ref/alpha/engine-dlib-src-dmsdk-dlib-crypt-h.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,16 @@
441441
"doc": "= 1",
442442
"name": "dmCrypt::RESULT_ERROR",
443443
"type": ""
444+
},
445+
{
446+
"doc": "= 2",
447+
"name": "dmCrypt::RESULT_INVALID_LENGTH",
448+
"type": ""
449+
},
450+
{
451+
"doc": "= 3",
452+
"name": "dmCrypt::RESULT_SIGNATURE_MISMATCH",
453+
"type": ""
444454
}
445455
],
446456
"name": "Result",

_data/ref/alpha/engine-gameobject-src-dmsdk-gameobject-component-h.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,46 @@
11541154
"tparams": [],
11551155
"type": "STRUCT"
11561156
},
1157+
{
1158+
"brief": "Component pre-update function. Run component logic...",
1159+
"description": "Component pre-update function. Run component logic before main Update and FixedUpdate (optional)",
1160+
"error": "",
1161+
"examples": "",
1162+
"language": "",
1163+
"members": [],
1164+
"name": "ComponentsPreUpdate",
1165+
"notes": [],
1166+
"parameters": [
1167+
{
1168+
"doc": "Update parameters",
1169+
"is_optional": "False",
1170+
"name": "params",
1171+
"types": [
1172+
"const dmGameObject::ComponentsUpdateParams&"
1173+
]
1174+
},
1175+
{
1176+
"doc": "(out) Update result",
1177+
"is_optional": "False",
1178+
"name": "params",
1179+
"types": [
1180+
"dmGameObject::ComponentsUpdateResult&"
1181+
]
1182+
}
1183+
],
1184+
"replaces": "",
1185+
"returnvalues": [
1186+
{
1187+
"doc": "UPDATE_RESULT_OK on success",
1188+
"name": "result",
1189+
"types": [
1190+
"UpdateResult"
1191+
]
1192+
}
1193+
],
1194+
"tparams": [],
1195+
"type": "TYPEDEF"
1196+
},
11571197
{
11581198
"brief": "Component render function.",
11591199
"description": "Component render function.",
@@ -1963,6 +2003,38 @@
19632003
"tparams": [],
19642004
"type": "FUNCTION"
19652005
},
2006+
{
2007+
"brief": "set the component pre-update callback",
2008+
"description": "Set the component pre-update callback. Called before regular update callback.",
2009+
"error": "",
2010+
"examples": "",
2011+
"language": "",
2012+
"members": [],
2013+
"name": "ComponentTypeSetPreUpdateFn",
2014+
"notes": [],
2015+
"parameters": [
2016+
{
2017+
"doc": "the type",
2018+
"is_optional": "False",
2019+
"name": "type",
2020+
"types": [
2021+
"HComponentType"
2022+
]
2023+
},
2024+
{
2025+
"doc": "callback",
2026+
"is_optional": "False",
2027+
"name": "fn",
2028+
"types": [
2029+
"ComponentsPreUpdate"
2030+
]
2031+
}
2032+
],
2033+
"replaces": "",
2034+
"returnvalues": [],
2035+
"tparams": [],
2036+
"type": "FUNCTION"
2037+
},
19662038
{
19672039
"brief": "set the component type prio order",
19682040
"description": "Set the component type prio order. Defines the update order of the component types.",
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)