sgc7pbutils

package
v0.10.341 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

func BuildPBGameScene(gs *sgc7game.GameScene) *sgc7pb.GameScene

BuildPBGameScene - *sgc7game.GameScene -> *sgc7pb.GameScene

func BuildPBGameScenePlayResult

func BuildPBGameScenePlayResult(r *sgc7game.Result) *sgc7pb.GameScenePlayResult

BuildPBGameScenePlayResult - *sgc7game.Result -> *sgc7pb.GameScenePlayResult

func BuildPBLineData

func BuildPBLineData(ld *sgc7game.LineData) *sgc7pb.LinesData

BuildPBLineData - *sgc7game.LineData -> *sgc7pb.LinesData

func BuildPBPayTables

func BuildPBPayTables(pt *sgc7game.PayTables) map[int32]*sgc7pb.Row

BuildPBPayTables - *sgc7game.PayTables -> map[int32]*Row

func BuildPBReelsData

func BuildPBReelsData(rd *sgc7game.ReelsData) *sgc7pb.ReelsData

BuildPBReelsData - *sgc7game.ReelsData -> *sgc7pb.ReelsData

func BuildPBRngs

func BuildPBRngs(rngs []*sgc7utils.RngInfo) []*sgc7pb.RngInfo

BuildPBRngs - []*RngInfo => []*sgc7pb.RngInfo

func BuildStake

func BuildStake(stake *sgc7pb.Stake) *sgc7game.Stake

BuildStake - PlayerState => sgc7game.IPlayerState

func JSON

func JSON(name string, msg proto.Message) zap.Field

JSON - It's like zap.String(name, str)

func MergeReplyPlay

func MergeReplyPlay(dst *sgc7pb.ReplyPlay, src *sgc7pb.ReplyPlay)

MergeReplyPlay - merge ReplyPlay

func PB2Json

func PB2Json(msg proto.Message) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL