package routers import ( "context" "sync" ) var _ = sync.Mutex{} var _ = context.Background // // Lifts (MobilePlatform). // Why lifts never worked here: the client's call button is only a *request*. The cab actually // moves when the server echoes SyncMobilePlatformInfo(68705244) back — without it the // press is acked "ok" into the void and nothing happens. Handoff round 16B identified this and // 16F confirmed it live (Bassline 808: full GetOn/Move/GetOff round trip, error=0) once the body // stopped being rejected — see the wire note on // SceneMethods.MobilePlatformSyncInfo for the one-byte count bug that doomed the // first attempt. // Two pushes per ride, matching the donor's proven sequence: // 1. departure — CurLevel=from, TgtLevel=target (the cab starts moving); // 2. arrival — CurLevel=TgtLevel=target after the travel delay. // The cab position is the player's last reported transform: we have no authored floor heights, and // the donor used the same anchor. The client keeps its own shaft geometry. // func GameRouter_Elevator_ElevatorStateOf(ctx context.Context, session *GameSession) any { // Router implementation for GameRouter_Elevator_ElevatorStateOf var zero any; return zero } // // Client invoke AskMoveMobilePlatform(63185921): (ulong mobilePlatformId, int targetIndex). // func GameRouter_Elevator_OnAskMoveMobilePlatform(ctx context.Context, conn any, msg any) any { // Router implementation for GameRouter_Elevator_OnAskMoveMobilePlatform var zero any; return zero } // Client invoke AskGetOnMobilePlatform(63687984): (ulong mobilePlatformId). func GameRouter_Elevator_OnAskGetOnMobilePlatform(ctx context.Context, conn any, msg any) any { // Router implementation for GameRouter_Elevator_OnAskGetOnMobilePlatform var zero any; return zero } // Client invoke AskGetOffMobilePlatform(63974264): no arguments. func GameRouter_Elevator_OnAskGetOffMobilePlatform(ctx context.Context, conn any, msg any) any { // Router implementation for GameRouter_Elevator_OnAskGetOffMobilePlatform var zero any; return zero } // SyncLiftDoorMode(68799106) — the only thing that opens a lift door. func GameRouter_Elevator_PushDoorModeAsync(ctx context.Context, conn any, platformId uint64, doorMode byte) any { // Router implementation for GameRouter_Elevator_PushDoorModeAsync var zero any; return zero } func GameRouter_Elevator_PushPlatformAsync(ctx context.Context, conn any, platformId uint64, curLevel int32, tgtLevel int32, force bool, doorMode byte) any { // Router implementation for GameRouter_Elevator_PushPlatformAsync var zero any; return zero } type ElevatorSessionState struct { SyncRoot any `json:"syncRoot"` // platformId -> the level the cab is parked at. Level map[uint64]int32 `json:"level"` Rides int32 `json:"rides"` }