Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

party state

Back to all declarations

partyCap

untyped bigint

Value

(8 <untyped> bigint)

nameMax

untyped bigint

Value

(16 <untyped> bigint)

capFloor

untyped bigint

Value

(2 <untyped> bigint)

capCeil

untyped bigint

Value

(32 <untyped> bigint)

crew

type

Value

party.crew

invited

map[.uverse.address]int
Open
OID
0b6850…2ca0:38
invited details

Inspect map

nextPID

int

Value

1

crewCap

int

Value

8

admin

.uverse.address

Value

<zero>

adminSet

bool

Value

false

Cap

func() int

Cap is the seat limit for a new invite. The default is 8.

Open
OID
0b6850…2ca0:17
Cap details

Inspect func

Version

func() string

Version names this local package shape. The live party realm is unchanged.

Open
OID
0b6850…2ca0:18
Version details

Inspect func

ClaimAdmin

func()

ClaimAdmin records the first caller. A later caller cannot replace them here.

Open
OID
0b6850…2ca0:20
ClaimAdmin details

Inspect func

SetCap

func(n int)

SetCap changes how many seats a crew may fill. Crews that are already larger stay as they are.

Open
OID
0b6850…2ca0:21
SetCap details

Inspect func

PartyOf

func(who .uverse.address) int
Open
OID
0b6850…2ca0:22
PartyOf details

Inspect func

SameParty

func(a .uverse.address, b .uverse.address) bool
Open
OID
0b6850…2ca0:23
SameParty details

Inspect func

LeaderOf

func(id int) .uverse.address
Open
OID
0b6850…2ca0:25
LeaderOf details

Inspect func

MemberAt

func(id int, index int) .uverse.address
Open
OID
0b6850…2ca0:27
MemberAt details

Inspect func

requireUser

func() .uverse.address
Open
OID
0b6850…2ca0:28
requireUser details

Inspect func

seatOf

func(who .uverse.address) int
Open
OID
0b6850…2ca0:31
seatOf details

Inspect func

openCrew

func(id int) *party.crew
Open
OID
0b6850…2ca0:32
openCrew details

Inspect func

cleanName

func(name string) string
Open
OID
0b6850…2ca0:34
cleanName details

Inspect func

dropMember

func(body *party.crew, who .uverse.address)
Open
OID
0b6850…2ca0:35
dropMember details

Inspect func
partyCap : untyped bigint =(8 <untyped> bigint)
nameMax : untyped bigint =(16 <untyped> bigint)
capFloor : untyped bigint =(2 <untyped> bigint)
capCeil : untyped bigint =(32 <untyped> bigint)
crew : type =party.crew
crews : []*party.crew (len=2) Inspect
seat : map[.uverse.address]int Inspect
invited : map[.uverse.address]int Inspect
nextPID : int =1
crewCap : int =8
admin : .uverse.address =<zero>
adminSet : bool =false
Create : func(name string) int Inspect
Invite : func(who .uverse.address) Inspect
Accept : func() int Inspect
Leave : func() Inspect
Kick : func(who .uverse.address) Inspect
Disband : func() Inspect
Cap : func() int Inspect
Version : func() string Inspect
Admin : func() .uverse.address Inspect
ClaimAdmin : func() Inspect
SetCap : func(n int) Inspect
PartyOf : func(who .uverse.address) int Inspect
SameParty : func(a .uverse.address, b .uverse.address) bool Inspect
NameOf : func(id int) string Inspect
LeaderOf : func(id int) .uverse.address Inspect
MemberCount : func(id int) int Inspect
MemberAt : func(id int, index int) .uverse.address Inspect
requireUser : func() .uverse.address Inspect
takeExact : func(n int64) Inspect
ensure : func() Inspect
seatOf : func(who .uverse.address) int Inspect
openCrew : func(id int) *party.crew Inspect
taken : func(name string) bool Inspect
cleanName : func(name string) string Inspect
dropMember : func(body *party.crew, who .uverse.address) Inspect
dropInvites : func(id int) Inspect