Documentation ¶
Index ¶
- func BroadcastMessage(from types.Character, message string)
- func CharacterWeight(character types.Character) int
- func CharactersIn(roomId types.Id) types.CharacterList
- func CountItemsIn(containerId types.Id) int
- func CreateArea(name string, zone types.Zone) (types.Area, error)
- func CreateEffect(name string) types.Effect
- func CreateItem(templateId types.Id) types.Item
- func CreateNpc(name string, roomId types.Id, spawnerId types.Id) types.NPC
- func CreatePlayerCharacter(name string, userId types.Id, startingRoom types.Room) types.PC
- func CreateRoom(zone types.Zone, location types.Coordinate) (types.Room, error)
- func CreateSkill(name string) types.Skill
- func CreateSpawner(name string, areaId types.Id) types.Spawner
- func CreateStore(name string, roomId types.Id) types.Store
- func CreateTemplate(name string) types.Template
- func CreateUser(name string, password string, admin bool) types.User
- func CreateZone(name string) (types.Zone, error)
- func DeleteArea(areaId types.Id)
- func DeleteCharacter(charId types.Id)
- func DeleteEffect(id types.Id)
- func DeleteItem(itemId types.Id)
- func DeleteItems(items types.ItemList)
- func DeleteRoom(room types.Room)
- func DeleteSkill(id types.Id)
- func DeleteStore(id types.Id)
- func DeleteTemplate(id types.Id)
- func DeleteUser(userId types.Id)
- func DeleteZone(zoneId types.Id)
- func DirectionBetween(from, to types.Room) types.Direction
- func Emote(from types.Character, message string)
- func FindObjectByName(name string, objectType types.ObjectType) types.Id
- func GetAllEffects() types.EffectList
- func GetAllSkills() types.SkillList
- func GetAllTemplates() types.TemplateList
- func GetArea(id types.Id) types.Area
- func GetAreaByName(name string) types.Area
- func GetAreaRooms(areaId types.Id) types.RoomList
- func GetAreaSpawners(areaId types.Id) types.SpawnerList
- func GetAreas(zone types.Zone) types.AreaList
- func GetCharacterByName(name string) types.Character
- func GetEffect(id types.Id) types.Effect
- func GetEffectByName(name string) types.Effect
- func GetEffects(EffectIds []types.Id) types.EffectList
- func GetItem(id types.Id) types.Item
- func GetNeighbors(room types.Room) []types.Room
- func GetNpc(id types.Id) types.NPC
- func GetNpcByName(name string) types.NPC
- func GetNpcs() types.NPCList
- func GetOnlinePlayerCharacters() []types.PC
- func GetOrCreatePlayerCharacter(name string, userId types.Id, startingRoom types.Room) types.PC
- func GetPlayerCharacter(id types.Id) types.PC
- func GetPlayerCharacterByName(name string) types.PC
- func GetRoom(id types.Id) types.Room
- func GetRoomByLocation(coordinate types.Coordinate, zoneId types.Id) types.Room
- func GetRooms() types.RoomList
- func GetRoomsInZone(zoneId types.Id) types.RoomList
- func GetSkill(id types.Id) types.Skill
- func GetSkillByName(name string) types.Skill
- func GetSkills(SkillIds []types.Id) types.SkillList
- func GetSpawner(id types.Id) types.Spawner
- func GetSpawnerNpcs(spawnerId types.Id) types.NPCList
- func GetSpawners() types.SpawnerList
- func GetStore(id types.Id) types.Store
- func GetTemplate(id types.Id) types.Template
- func GetTemplateItems(templateId types.Id) types.ItemList
- func GetUser(id types.Id) types.User
- func GetUserByName(username string) types.User
- func GetUserCharacters(userId types.Id) types.PCList
- func GetUsers() types.UserList
- func GetWorld() types.World
- func GetZone(id types.Id) types.Zone
- func GetZoneByName(name string) types.Zone
- func GetZones() types.ZoneList
- func ItemWeight(item types.Item) int
- func ItemsIn(containerId types.Id) types.ItemList
- func Login(character types.PC)
- func Logout(character types.PC)
- func MoveCharacter(character types.Character, direction types.Direction) error
- func MoveCharacterToRoom(character types.Character, newRoom types.Room)
- func NpcsIn(roomId types.Id) types.NPCList
- func PlayerCharactersIn(roomId types.Id, except types.Id) types.PCList
- func Say(from types.Character, message string)
- func StoreIn(roomId types.Id) types.Store
- func Tell(from types.Character, to types.Character, message string)
- func UserCount() int
- func ZoneCorners(zone types.Zone) (types.Coordinate, types.Coordinate)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BroadcastMessage ¶
func CharacterWeight ¶
func CharactersIn ¶
func CharactersIn(roomId types.Id) types.CharacterList
func CountItemsIn ¶
func CreateEffect ¶
func CreatePlayerCharacter ¶
func CreateRoom ¶
func CreateSkill ¶
func CreateTemplate ¶
func DeleteArea ¶
func DeleteCharacter ¶
func DeleteEffect ¶
func DeleteItem ¶
func DeleteItems ¶
func DeleteRoom ¶
func DeleteSkill ¶
func DeleteStore ¶
func DeleteTemplate ¶
func DeleteUser ¶
func DeleteZone ¶
func FindObjectByName ¶
func FindObjectByName(name string, objectType types.ObjectType) types.Id
func GetAllEffects ¶
func GetAllEffects() types.EffectList
func GetAllSkills ¶
func GetAllTemplates ¶
func GetAllTemplates() types.TemplateList
func GetAreaByName ¶
func GetAreaSpawners ¶
func GetAreaSpawners(areaId types.Id) types.SpawnerList
func GetCharacterByName ¶
func GetEffectByName ¶
func GetEffects ¶
func GetEffects(EffectIds []types.Id) types.EffectList
func GetNpcByName ¶
func GetRoomByLocation ¶
func GetSkillByName ¶
func GetSpawners ¶
func GetSpawners() types.SpawnerList
func GetUserByName ¶
func GetZoneByName ¶
func ItemWeight ¶
func ZoneCorners ¶
func ZoneCorners(zone types.Zone) (types.Coordinate, types.Coordinate)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.