Documentation ¶
Index ¶
- func BuildPBGameConfig(cfg *sgc7game.Config) *sgc7pb.GameConfig
- func BuildPBGameScene(gs *sgc7game.GameScene) *sgc7pb.GameScene
- func BuildPBGameScenePlayResult(r *sgc7game.Result) *sgc7pb.GameScenePlayResult
- func BuildPBLineData(ld *sgc7game.LineData) *sgc7pb.LinesData
- func BuildPBPayTables(pt *sgc7game.PayTables) map[int32]*sgc7pb.Row
- func BuildPBReelsData(rd *sgc7game.ReelsData) *sgc7pb.ReelsData
- func BuildPBRngs(rngs []*sgc7utils.RngInfo) []*sgc7pb.RngInfo
- func BuildStake(stake *sgc7pb.Stake) *sgc7game.Stake
- func JSON(name string, msg proto.Message) slog.Attr
- func MergeReplyPlay(dst *sgc7pb.ReplyPlay, src *sgc7pb.ReplyPlay)
- func PB2Json(msg proto.Message) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPBGameConfig ¶
func BuildPBGameConfig(cfg *sgc7game.Config) *sgc7pb.GameConfig
BuildPBGameConfig - *sgc7game.Config -> *sgc7pb.GameConfig
func BuildPBGameScene ¶
BuildPBGameScene - *sgc7game.GameScene -> *sgc7pb.GameScene
func BuildPBGameScenePlayResult ¶
func BuildPBGameScenePlayResult(r *sgc7game.Result) *sgc7pb.GameScenePlayResult
BuildPBGameScenePlayResult - *sgc7game.Result -> *sgc7pb.GameScenePlayResult
func BuildPBLineData ¶
BuildPBLineData - *sgc7game.LineData -> *sgc7pb.LinesData
func BuildPBPayTables ¶
BuildPBPayTables - *sgc7game.PayTables -> map[int32]*Row
func BuildPBReelsData ¶
BuildPBReelsData - *sgc7game.ReelsData -> *sgc7pb.ReelsData
func BuildPBRngs ¶
BuildPBRngs - []*RngInfo => []*sgc7pb.RngInfo
func BuildStake ¶
BuildStake - PlayerState => sgc7game.IPlayerState
func MergeReplyPlay ¶
MergeReplyPlay - merge ReplyPlay
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.