mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2026-06-04 19:42:13 +00:00
2
This commit is contained in:
parent
3c4b85fedc
commit
108bb295e9
@ -3682,7 +3682,12 @@ namespace Oshima.FunGame.WebAPI.Services
|
|||||||
}
|
}
|
||||||
(Room room, List<string> msgs) = await Controller.RoomRunGame(uid);
|
(Room room, List<string> msgs) = await Controller.RoomRunGame(uid);
|
||||||
BotReply rpy = MergeToMarkdown("该局游戏结果如下:", msgs);
|
BotReply rpy = MergeToMarkdown("该局游戏结果如下:", msgs);
|
||||||
rpy.Keyboard = new KeyboardMessage().AppendButtons(1, Button.CreateCmdButton("快速重新开始", $"开始游戏"));
|
rpy.Keyboard = new KeyboardMessage().AppendButtons(2, [
|
||||||
|
Button.CreateCmdButton("退出房间", $"退出房间", false),
|
||||||
|
Button.CreateCmdButton("房间列表", $"房间列表"),
|
||||||
|
Button.CreateCmdButton("生命之泉", $"生命之泉"),
|
||||||
|
Button.CreateCmdButton("快速重新开始", $"开始游戏")
|
||||||
|
]);
|
||||||
await SendAsync(e, "房间", rpy, msgSeq: 1);
|
await SendAsync(e, "房间", rpy, msgSeq: 1);
|
||||||
OnlineService.ReSetRoomState(room.Roomid);
|
OnlineService.ReSetRoomState(room.Roomid);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user