fobplaced

package
v0.0.0-...-4aa4c14 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TableName = "fobPlaced"

Functions

This section is empty.

Types

type EPlacedType

type EPlacedType uint8
const (
	PlacedTypeInvalid EPlacedType = iota
	MINE
	CAMERA
)

func (EPlacedType) String

func (i EPlacedType) String() string

type Placed

type Placed struct {
	ClusterParamID int
	Type           EPlacedType
	PlacedIndex    int
	PositionX      int
	PositionY      int
	PositionZ      int
	RotationW      int
	RotationX      int
	RotationY      int
	RotationZ      int
	SecurityIDX    int
}

type Repo

type Repo struct {
	// contains filtered or unexported fields
}

func (*Repo) AddOrUpdate

func (r *Repo) AddOrUpdate(ctx context.Context, c *Placed) error

func (*Repo) Get

func (r *Repo) Get(ctx context.Context, clusterParamID int, securityIDX int) ([]Placed, error)

func (*Repo) Init

func (r *Repo) Init(ctx context.Context) error

func (*Repo) WithDB

func (r *Repo) WithDB(db *sql.DB)

Jump to

Keyboard shortcuts

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