power

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request int16
const EmptyRequest Request = 0

func NewRequest

func NewRequest(v member.Power) Request

func NewRequestByLevel

func NewRequestByLevel(v capacity.Level) Request

func (Request) AsCapacityLevel

func (v Request) AsCapacityLevel() (bool, capacity.Level)

func (Request) AsMemberPower

func (v Request) AsMemberPower() (bool, member.Power)

func (Request) IsEmpty

func (v Request) IsEmpty() bool

func (Request) Update

func (v Request) Update(pw *member.Power, set member.PowerSet) bool

Jump to

Keyboard shortcuts

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