This commit is contained in:
Naruse
2025-04-15 19:36:05 +08:00
parent dd51fb491d
commit ec8972d5d6
121 changed files with 30598 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import betterproto
from game_server.net.session import PlayerSession
from rail_proto.lib import (
SelectChatBubbleCsReq,
SelectChatBubbleScRsp
)
async def handle(session: PlayerSession, msg: SelectChatBubbleCsReq) -> betterproto.Message:
session.player.data.chat_bubble = msg.bubble_id
#session.player.data.save_player_data()
return SelectChatBubbleScRsp(
retcode=0,
cur_chat_bubble=msg.bubble_id
)