mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-09 16:08:23 +03:00
feat(gameui): make stubs of script methods
This commit is contained in:
1 parent
3df4e5eeeb
commit
0a0c327c46
4 files changed
+15
-5
No files matched your search
@@ -493,7 +493,9 @@ static int32_t Script_ForceQuit(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) {
|
||||
|
||||
@@ -93,7 +93,9 @@ static int32_t Script_ChangeActionBarPage(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) {
|
||||
|
||||
@@ -250,7 +250,9 @@ static int32_t Script_UnitLevel(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) {
|
||||
|
||||
@@ -41,11 +41,15 @@ static int32_t Script_CancelTradeAccept(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) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
// TODO
|
||||
lua_pushnumber(L, 0.0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int32_t Script_PickupTradeMoney(lua_State* L) {
|
||||
|
||||
Reference in new issue
Block a user