mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-26 13:56:05 +03:00
feat(gameui): make stubs of script methods
This commit is contained in:
parent
3df4e5eeeb
commit
0a0c327c46
@ -493,7 +493,9 @@ static int32_t Script_ForceQuit(lua_State* L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int32_t Script_GetCursorMoney(lua_State* L) {
|
static int32_t Script_GetCursorMoney(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
// TODO
|
||||||
|
lua_pushnumber(L, 0.0);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t Script_DropCursorMoney(lua_State* L) {
|
static int32_t Script_DropCursorMoney(lua_State* L) {
|
||||||
|
|||||||
@ -93,7 +93,9 @@ static int32_t Script_ChangeActionBarPage(lua_State* L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int32_t Script_GetActionBarPage(lua_State* L) {
|
static int32_t Script_GetActionBarPage(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
// TODO
|
||||||
|
lua_pushinteger(L, 1);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t Script_GetActionBarToggles(lua_State* L) {
|
static int32_t Script_GetActionBarToggles(lua_State* L) {
|
||||||
|
|||||||
@ -250,7 +250,9 @@ static int32_t Script_UnitLevel(lua_State* L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int32_t Script_GetMoney(lua_State* L) {
|
static int32_t Script_GetMoney(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
// TODO
|
||||||
|
lua_pushnumber(L, 10.0);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t Script_GetHonorCurrency(lua_State* L) {
|
static int32_t Script_GetHonorCurrency(lua_State* L) {
|
||||||
|
|||||||
@ -41,11 +41,15 @@ static int32_t Script_CancelTradeAccept(lua_State* L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int32_t Script_GetPlayerTradeMoney(lua_State* L) {
|
static int32_t Script_GetPlayerTradeMoney(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
// TODO
|
||||||
|
lua_pushnumber(L, 0.0);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t Script_GetTargetTradeMoney(lua_State* L) {
|
static int32_t Script_GetTargetTradeMoney(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
// TODO
|
||||||
|
lua_pushnumber(L, 0.0);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t Script_PickupTradeMoney(lua_State* L) {
|
static int32_t Script_PickupTradeMoney(lua_State* L) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user