logic

package
v0.0.0-...-9a03403 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMissionCapacityByNumAndSeq

func GetMissionCapacityByNumAndSeq(num uint8, seq int) uint8

func GetShuffledCardsByNum

func GetShuffledCardsByNum(ctx context.Context, num uint8, selection []*ent.Card) ([]*ent.Card, error)

func JoinRoom

func JoinRoom(ctx context.Context, dbClient *ent.Client, roomID, userID int64) (*ent.RoomUser, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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