34 lines
1.4 KiB
Go
34 lines
1.4 KiB
Go
package models
|
|
|
|
import (
|
|
"encoding/json"
|
|
"sync"
|
|
)
|
|
|
|
var _ = json.RawMessage{}
|
|
var _ = sync.Mutex{}
|
|
|
|
//
|
|
// Writer for the 4229938 story channel (SyncStoryCoreServerInfo, 68629349) used by
|
|
// the vehicle ride story (S011). Ported from the proven 4091149 codec; command framing
|
|
// (Create=3, Delete=4, ConfirmRpc=2, Enable=6, Validate=9) and payload tags
|
|
// (Bool=5, Int=12, ULong=44) verified against the current dump.cs story classes.
|
|
// 4229938 delta applied: CreateClientNodeServerCommand gained StoryboardGuid
|
|
// (dump TypeDefIndex 69592) — sent as EMPTY string: the Lua writer marks the
|
|
// field non-nullable, so a null marker (0x00) corrupts the whole Create parse
|
|
// client-side and the S011 node is never built (F-enter: 缺少S011PlayerNet节点).
|
|
// Proven live on the sibling DRMK-PS_08.05_Lyco build (2026-09-12): root
|
|
// bootstrap byte 0x33 = 0x01 (empty string) and F-enter/exit work end to end.
|
|
// Base fields (RpcId, HasRpcId) trail each command, matching the proven layout.
|
|
//
|
|
type StoryS011Codec4229938 struct {
|
|
RootMessengers []string `json:"rootMessengers"`
|
|
}
|
|
|
|
const (
|
|
StoryS011Codec4229938_RootType string = "StoryServer.Story.World.S011.S011PlayerNet"
|
|
StoryS011Codec4229938_EnterChildType string = "StoryServer.Story.World.S011.SVehicleEnterBoardingNet"
|
|
StoryS011Codec4229938_ExitChildType string = "StoryServer.Story.World.S011.SVehicleExitBoardingNet"
|
|
)
|
|
|