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

craft source realm

Constants 1

Functions 14

func Craft

crossing Action
1func Craft(cur realm, recipe string) uint64
source

Craft burns a canonical recipe and mints the next GRC721 equipment token.

func SetRecipe

crossing Action
1func SetRecipe(cur realm, recipe string, itemID uint32)
source

SetRecipe stores the item definition ID produced by a canonical recipe.

func SetRecipes

crossing Action
1func SetRecipes(cur realm, recipesCSV, itemIDsCSV string)
source

SetRecipes stores up to 100 canonical recipe and item ID pairs in one transaction.

Imports 11

Source Files 7