Skip to content

Commit

Permalink
room_game_hall_m增加 queue执行
Browse files Browse the repository at this point in the history
  • Loading branch information
huahua132 committed Sep 30, 2024
1 parent d8445c9 commit 8300d25
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions module/room_game_hall_m.lua
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,16 @@ function interface:get_table_id(player_id)

return agent.table_id or "0:0"
end

--执行队列
function interface:queue(player_id, func, ...)
local agent = g_player_map[player_id]
if not agent then
log.warn("queue agent not exists ", player_id)
return nil
end
return agent.queue(func, ...)
end
----------------------------------------------------------------------------------
--CMD
----------------------------------------------------------------------------------
Expand Down

0 comments on commit 8300d25

Please sign in to comment.