chore: release version 2.3.5 and refactor lobby
Bump export_presets.cfg version to 2.3.5. Update CHANGELOG_DRAFT.md. Refactor lobby.gd into LobbyChat, LobbyMainMenu, LobbyRoomList, LobbyRoom. Move Nakama config to environment variables in nakama_manager.gd. Derive auth_manager.gd encryption key from OS.get_unique_id().sha256_text(). Remove Steam email auth fallback. Require auth ticket. Make GachaManager.pull() async in gacha_panel.gd. Remove dummy wallet seeding. Add store_type to IAP payload. Validate IAP receipts server-side in economy.lua. Register gacha module in main.lua. Clean backend_service.gd stubs. Fix featured_banners type safety in gacha_manager.gd. Guards non-array responses. Move tiles_armagedon_a1.res to assets/models/meshes/. Fix import fallback_path.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
var _params = null
|
||||
var _call_count = 0
|
||||
var _logger = null
|
||||
|
||||
func _init(params=null):
|
||||
_params = params
|
||||
_logger = GutUtils.get_logger()
|
||||
if(typeof(_params) != TYPE_ARRAY):
|
||||
_logger.error('You must pass an array to parameter_handler constructor.')
|
||||
_params = null
|
||||
|
||||
|
||||
func next_parameters():
|
||||
_call_count += 1
|
||||
return _params[_call_count -1]
|
||||
|
||||
func get_current_parameters():
|
||||
return _params[_call_count]
|
||||
|
||||
func is_done():
|
||||
var done = true
|
||||
if(_params != null):
|
||||
done = _call_count == _params.size()
|
||||
return done
|
||||
|
||||
func get_logger():
|
||||
return _logger
|
||||
|
||||
func set_logger(logger):
|
||||
_logger = logger
|
||||
|
||||
func get_call_count():
|
||||
return _call_count
|
||||
|
||||
func get_parameter_count():
|
||||
return _params.size()
|
||||
Reference in New Issue
Block a user