4.5 KiB
4.5 KiB
Client Handler → Scene Map (Draft)
This maps current server handlers (Server/src/*/Handlers) to suggested client scenes/features.
Auth / Session Scene
Source:
SOR.Auth/Handlers/AuthGrpcHandler.cs(gRPC, not websocket message handlers)
AuthGrpcHandler.Login→ Login sceneAuthGrpcHandler.Register→ Register sceneAuthGrpcHandler.ValidateToken→ App boot/session restoreAuthGrpcHandler.Logout→ Settings / account menu logoutGet/Set/Delete/ListAccountProperty→ Profile/settings persistenceLoginWithOAuth→ OAuth login scene (feature-flagged)
Version Gate / Bootstrap Scene
version.check→ Startup version gate / patch-required modal
Content / Catalog Scene
content.sync→ Initial catalog sync + background refreshcontent.sets→ Card sets browser/filter datacontent.card→ Card detail view / tooltip inspector
Collection Scene (Deck Builder)
collection.get_cards→ Collection inventory gridcollection.get_decks→ Deck list scenecollection.get_deck→ Deck detail/editor scenecollection.create_deck→ Create deck flowcollection.clone_deck→ Duplicate deck actioncollection.rename_deck→ Rename deck actioncollection.delete_deck→ Delete deck actioncollection.add_card→ Deck editor add cardcollection.remove_card→ Deck editor remove cardcollection.get_starter_decks→ Starter deck selection scenecollection.select_starter_deck→ Onboarding starter deck confirm
Bazaar / Store Scene
bazaar.get_store→ Store homebazaar.buy_booster_pack→ Booster pack purchase flowbazaar.buy_prebuilt_deck→ Prebuilt deck purchase flowbazaar.buy_cosmetic→ Cosmetics purchase flowbazaar.get_listings→ Marketplace listingsbazaar.get_my_listings→ My listings managementbazaar.get_my_balance→ Wallet/balance viewbazaar.list_card→ Create listing flowbazaar.cancel_listing→ Cancel listing actionbazaar.place_bid→ Bid flowbazaar.buy_listing→ Instant buy flowbazaar.get_transactions→ Transaction history scene
Social / Chat Scene
Presence + social graph
chat.get_social→ Friends/social list panechat.friend_request→ Add friend actionchat.friend_respond→ Accept/decline friend requestchat.friend_remove→ Remove friend actionchat.block/chat.unblock→ Blocklist managementchat.presence.get/chat.presence.set→ Presence status controls
Messaging + notifications
chat.get_channels→ Channel/DM sidebarchat.dm_open→ Open/start DM threadchat.get_messages→ Thread message history scenechat.send→ Send message actionchat.notifications.get→ Notifications centerchat.notifications.read→ Mark notifications read
Matchmaking Scene
matchmaking.join→ Queue/join matchmakingmatchmaking.leave→ Leave queuematchmaking.status→ Queue status panel
Custom Lobby Scene
game.custom.create→ Create private/custom lobbygame.custom.list→ Lobby browsergame.custom.join→ Join selected custom lobbygame.custom.leave→ Leave custom lobbygame.ready→ Ready-up toggle in lobby
In-Match Scene (Battlefield)
Session/state
game.get_state→ Load/rejoin current match stategame.transition→ Phase transition orchestrationgame.end_turn→ End-turn actiongame.concede→ Concede action
Setup + economy
game.place_arch_spirit→ Placement phase scenegame.draw→ Draw actiongame.sacrifice→ Sacrifice flow / ST economy
Core tactics
game.move_unit→ Unit movement interactiongame.attack→ Attack targeting/confirm flowgame.ascend→ Ascend action
Cards + abilities
game.play_card→ Card channeling flow (spirit/terramorpha/repentance/instinct/ruin)game.activate_ability→ Activated ability targeting + resolve
Notes
AuthGrpcHandleris gRPC-based and should be mapped via your auth transport client, not the websocket message dispatcher.- Scene names are suggestions; keep handler names as the source of truth for wiring.
- For generated client routing, prefix groups map cleanly by namespace (
auth,content,collection,bazaar,chat,matchmaking,game,version).