_ITEMDATABASE_FILLOUT_BUNDLE
Fills outData with entry index of bundle for cost type costtype. Returns true on success.
Signature
BOOL _ITEMDATABASE_FILLOUT_BUNDLE(Hash bundle, Hash costtype, int index, Any* outData); // 0xB542632693D53408 b1232Parameters
| # | Name | Type |
|---|---|---|
| 1 | bundle | Hash |
| 2 | costtype | Hash |
| 3 | index | int |
| 4 | outData | Any* (out pointer) |
Facts
| Name | _ITEMDATABASE_FILLOUT_BUNDLE |
|---|---|
| Hash | 0xB542632693D53408 |
| Namespace | |
| Returns | BOOL |
| Game build | 1232 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, outData = Citizen.InvokeNative(0xB542632693D53408, -- _ITEMDATABASE_FILLOUT_BUNDLE
GetHashKey("name"), -- Hash bundle
GetHashKey("name"), -- Hash costtype
0, -- int index
Citizen.PointerValueInt(), -- Any* outData
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, outData] = Citizen.invokeNative("0xB542632693D53408", // _ITEMDATABASE_FILLOUT_BUNDLE
GetHashKey("name"), // Hash bundle
GetHashKey("name"), // Hash costtype
0, // int index
Citizen.pointerValueInt(), // Any* outData
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var outDataArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xB542632693D53408, // _ITEMDATABASE_FILLOUT_BUNDLE
(uint)API.GetHashKey("name"), // Hash bundle
(uint)API.GetHashKey("name"), // Hash costtype
0, // int index
outDataArg // Any* outData
);
int outData = outDataArg.GetResult<int>();Related ITEMDATABASE natives
- _ITEMDATABASE_FILLOUT_BUNDLE_UI_DATA
- _ITEMDATABASE_FILLOUT_BUY_AWARD_ACQUIRE_COSTS
- _ITEMDATABASE_FILLOUT_BUY_AWARD_UI_DATA
- _ITEMDATABASE_FILLOUT_ACQUIRE_COST
- _ITEMDATABASE_FILLOUT_AWARD_ACQUIRE_COST
- _ITEMDATABASE_FILLOUT_AWARD_ITEM_INFO
- _ITEMDATABASE_FILLOUT_AWARD_UNLOCK_FLAG
- _ITEMDATABASE_FILLOUT_ITEM
- _ITEMDATABASE_FILLOUT_ITEM_EFFECT_IDS
- _ITEMDATABASE_FILLOUT_MODIFIER
- _ITEMDATABASE_FILLOUT_PRICE_MODIFIER_BY_KEY
- _ITEMDATABASE_FILLOUT_SATCHEL_DATA
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.