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.

game_world state

Back to all declarations

gameWorldListLimit

untyped bigint

Value

(100 <untyped> bigint)

CreateGameWorldEvent

untyped string

Value

"CreateGameWorld"

RestrictGameWorldEvent

untyped string

Value

"RestrictGameWorld"

CreationMode

type

Value

game_world.CreationMode

CreationModeInvalid

game_world.CreationMode

Value

<zero>

CreationModeOperatorOnly

game_world.CreationMode

Value

<zero>

CreationModeApprovedCreator

game_world.CreationMode

Value

<zero>

CreationModePublicCreator

game_world.CreationMode

Value

<zero>

GameWorldStatus

type

Value

game_world.GameWorldStatus

GameWorldStatusInvalid

game_world.GameWorldStatus

Value

<zero>

GameWorldStatusExists

game_world.GameWorldStatus

Value

<zero>

GameWorldStatusRestricted

game_world.GameWorldStatus

Value

<zero>

GameWorld

type

Value

game_world.GameWorld

GameTypePolicy

type

Value

game_world.GameTypePolicy

CreateGameWorld

func(gameType string) uint64
Open
OID
035339…4320:3
CreateGameWorld details

Inspect func

RestrictGameWorld

func(gameWorldID uint64)
Open
OID
035339…4320:5
RestrictGameWorld details

Inspect func

HasGameWorld

func(gameWorldID uint64) bool
Open
OID
035339…4320:6
HasGameWorld details

Inspect func

GetGameWorld

func(gameWorldID uint64) game_world.GameWorld
Open
OID
035339…4320:7
GetGameWorld details

Inspect func

GetLatestGameWorldID

func() uint64
Open
OID
035339…4320:8
GetLatestGameWorldID details

Inspect func

GetRestrictedGameWorldCount

func() int
Open
OID
035339…4320:10
GetRestrictedGameWorldCount details

Inspect func

ListRestrictedGameWorldIDs

func(page int, count int) []uint64
Open
OID
035339…4320:11
ListRestrictedGameWorldIDs details

Inspect func

ListLatestGameWorldsByOwner

func(owner .uverse.address) []game_world.GameWorld
Open
OID
035339…4320:12
ListLatestGameWorldsByOwner details

Inspect func

createGameWorld

func(owner .uverse.address, gameType string) uint64
Open
OID
035339…4320:13
createGameWorld details

Inspect func

assertCreationAllowed

func(gameType string, creator .uverse.address, mode game_world.CreationMode)
Open
OID
035339…4320:14
assertCreationAllowed details

Inspect func

assertExactUgnotPayment

func(expected int64)
Open
OID
035339…4320:15
assertExactUgnotPayment details

Inspect func

emitCreateGameWorld

func(owner .uverse.address, id uint64, gameType string, creationCost int64)
Open
OID
035339…4320:16
emitCreateGameWorld details

Inspect func

SetGameTypePolicyEvent

untyped string

Value

"SetGameTypePolicy"

AddApprovedCreatorEvent

untyped string

Value

"AddApprovedCreator"

RemoveApprovedCreatorEvent

untyped string

Value

"RemoveApprovedCreator"

SetApprovedCreatorsEvent

untyped string

Value

"SetApprovedCreators"

approvedCreatorListMax

untyped bigint

Value

(100 <untyped> bigint)

approvedCreatorBatchMax

untyped bigint

Value

(100 <untyped> bigint)

gameTypeMaxLen

untyped bigint

Value

(64 <untyped> bigint)

SetGameTypePolicy

func(gameType string, creationCost int64, mode game_world.CreationMode)
Open
OID
035339…4320:21
SetGameTypePolicy details

Inspect func

AddApprovedCreator

func(gameType string, creator .uverse.address)
Open
OID
035339…4320:22
AddApprovedCreator details

Inspect func

RemoveApprovedCreator

func(gameType string, creator .uverse.address)
Open
OID
035339…4320:23
RemoveApprovedCreator details

Inspect func

SetApprovedCreators

func(gameType string, creatorsCSV string, approved bool)
Open
OID
035339…4320:24
SetApprovedCreators details

Inspect func

setApprovedCreator

func(gameType string, creator .uverse.address, approved bool) bool
Open
OID
035339…4320:25
setApprovedCreator details

Inspect func

IsApprovedCreator

func(gameType string, creator .uverse.address) bool
Open
OID
035339…4320:26
IsApprovedCreator details

Inspect func

GetApprovedCreatorCount

func(gameType string) int
Open
OID
035339…4320:27
GetApprovedCreatorCount details

Inspect func

ListApprovedCreators

func(gameType string, offset int, count int) [].uverse.address
Open
OID
035339…4320:28
ListApprovedCreators details

Inspect func

HasGameTypePolicy

func(gameType string) bool
Open
OID
035339…4320:29
HasGameTypePolicy details

Inspect func

GetGameTypePolicy

func(gameType string) game_world.GameTypePolicy
Open
OID
035339…4320:30
GetGameTypePolicy details

Inspect func

initializePolicyState

func()
Open
OID
035339…4320:31
initializePolicyState details

Inspect func

assertValidGameType

func(gameType string)
Open
OID
035339…4320:32
assertValidGameType details

Inspect func

mustGetGameTypePolicy

func(gameType string) game_world.GameTypePolicy
Open
OID
035339…4320:33
mustGetGameTypePolicy details

Inspect func

getApprovedCreators

func(gameType string) (*v0.BPTree, bool)
Open
OID
035339…4320:34
getApprovedCreators details

Inspect func

createApprovedCreators

func(gameType string) *v0.BPTree
Open
OID
035339…4320:35
createApprovedCreators details

Inspect func

isApprovedCreator

func(gameType string, creator .uverse.address) bool
Open
OID
035339…4320:36
isApprovedCreator details

Inspect func

assertValidCreationMode

func(mode game_world.CreationMode)
Open
OID
035339…4320:37
assertValidCreationMode details

Inspect func

assertValidCreator

func(creator .uverse.address)
Open
OID
035339…4320:38
assertValidCreator details

Inspect func

resetGameWorldState

func()
Open
OID
035339…4320:39
resetGameWorldState details

Inspect func

restrictedGameWorldIDs

*v0.BPTree
Open
OID
035339…4320:47
restrictedGameWorldIDs details

Inspect pointer

latestGameWorldID

uint64

Value

0

addOwnerGameWorldID

func(owner .uverse.address, gameWorldID uint64)
Open
OID
035339…4320:50
addOwnerGameWorldID details

Inspect func

removeOwnerGameWorldID

func(owner .uverse.address, gameWorldID uint64)
Open
OID
035339…4320:52
removeOwnerGameWorldID details

Inspect func

getOwnerGameWorldIDs

func(owner .uverse.address) (*v0.BPTree, bool)
Open
OID
035339…4320:53
getOwnerGameWorldIDs details

Inspect func

resetGameWorldStore

func()
Open
OID
035339…4320:54
resetGameWorldStore details

Inspect func

uint64Key

func(id uint64) string
Open
OID
035339…4320:55
uint64Key details

Inspect func

parseUint64Key

func(key string) uint64
Open
OID
035339…4320:56
parseUint64Key details

Inspect func
gameWorldListLimit : untyped bigint =(100 <untyped> bigint)
CreateGameWorldEvent : untyped string ="CreateGameWorld"
RestrictGameWorldEvent : untyped string ="RestrictGameWorld"
CreationMode : type =game_world.CreationMode
CreationModeInvalid : game_world.CreationMode =<zero>
CreationModeOperatorOnly : game_world.CreationMode =<zero>
CreationModeApprovedCreator : game_world.CreationMode =<zero>
CreationModePublicCreator : game_world.CreationMode =<zero>
GameWorldStatus : type =game_world.GameWorldStatus
GameWorldStatusInvalid : game_world.GameWorldStatus =<zero>
GameWorldStatusExists : game_world.GameWorldStatus =<zero>
GameWorldStatusRestricted : game_world.GameWorldStatus =<zero>
GameWorld : type =game_world.GameWorld
GameTypePolicy : type =game_world.GameTypePolicy
CreateGameWorld : func(gameType string) uint64 Inspect
RestrictGameWorld : func(gameWorldID uint64) Inspect
HasGameWorld : func(gameWorldID uint64) bool Inspect
GetGameWorld : func(gameWorldID uint64) game_world.GameWorld Inspect
GetLatestGameWorldID : func() uint64 Inspect
GetListLimit : func() int Inspect
GetRestrictedGameWorldCount : func() int Inspect
ListRestrictedGameWorldIDs : func(page int, count int) []uint64 Inspect
ListLatestGameWorldsByOwner : func(owner .uverse.address) []game_world.GameWorld Inspect
createGameWorld : func(owner .uverse.address, gameType string) uint64 Inspect
assertCreationAllowed : func(gameType string, creator .uverse.address, mode game_world.CreationMode) Inspect
assertExactUgnotPayment : func(expected int64) Inspect
emitCreateGameWorld : func(owner .uverse.address, id uint64, gameType string, creationCost int64) Inspect
SetGameTypePolicyEvent : untyped string ="SetGameTypePolicy"
AddApprovedCreatorEvent : untyped string ="AddApprovedCreator"
RemoveApprovedCreatorEvent : untyped string ="RemoveApprovedCreator"
SetApprovedCreatorsEvent : untyped string ="SetApprovedCreators"
approvedCreatorListMax : untyped bigint =(100 <untyped> bigint)
approvedCreatorBatchMax : untyped bigint =(100 <untyped> bigint)
gameTypeMaxLen : untyped bigint =(64 <untyped> bigint)
gameTypePolicies : *v0.BPTree Inspect
approvedCreators : *v0.BPTree Inspect
init.36 : func() Inspect
SetGameTypePolicy : func(gameType string, creationCost int64, mode game_world.CreationMode) Inspect
AddApprovedCreator : func(gameType string, creator .uverse.address) Inspect
RemoveApprovedCreator : func(gameType string, creator .uverse.address) Inspect
SetApprovedCreators : func(gameType string, creatorsCSV string, approved bool) Inspect
setApprovedCreator : func(gameType string, creator .uverse.address, approved bool) bool Inspect
IsApprovedCreator : func(gameType string, creator .uverse.address) bool Inspect
GetApprovedCreatorCount : func(gameType string) int Inspect
ListApprovedCreators : func(gameType string, offset int, count int) [].uverse.address Inspect
HasGameTypePolicy : func(gameType string) bool Inspect
GetGameTypePolicy : func(gameType string) game_world.GameTypePolicy Inspect
initializePolicyState : func() Inspect
assertValidGameType : func(gameType string) Inspect
mustGetGameTypePolicy : func(gameType string) game_world.GameTypePolicy Inspect
getApprovedCreators : func(gameType string) (*v0.BPTree, bool) Inspect
createApprovedCreators : func(gameType string) *v0.BPTree Inspect
isApprovedCreator : func(gameType string, creator .uverse.address) bool Inspect
assertValidCreationMode : func(mode game_world.CreationMode) Inspect
assertValidCreator : func(creator .uverse.address) Inspect
resetGameWorldState : func() Inspect
gameWorlds : *v0.BPTree Inspect
ownerGameWorldIDs : *v0.BPTree Inspect
restrictedGameWorldIDs : *v0.BPTree Inspect
latestGameWorldID : uint64 =0
addOwnerGameWorldID : func(owner .uverse.address, gameWorldID uint64) Inspect
removeOwnerGameWorldID : func(owner .uverse.address, gameWorldID uint64) Inspect
getOwnerGameWorldIDs : func(owner .uverse.address) (*v0.BPTree, bool) Inspect
resetGameWorldStore : func() Inspect
uint64Key : func(id uint64) string Inspect
parseUint64Key : func(key string) uint64 Inspect