Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtlasIsland ¶
type AtlasIsland struct { IslandPoints int `json:"islandPoints"` IslandTreasureBottleSupplyCrateOverrides string `json:"islandTreasureBottleSupplyCrateOverrides"` Discoveries []string `json:"discoveries"` UseLevelBoundsForTreasures bool `json:"useLevelBoundsForTreasures"` Rotation float64 `json:"rotation"` UseNpcVolumesForTreasures bool `json:"useNpcVolumesForTreasures"` Sublevels []string `json:"sublevels"` WorldY int `json:"worldY"` MaxTreasureQuality int `json:"maxTreasureQuality"` IslandHeight int `json:"islandHeight"` Grid string `json:"grid"` SpawnerOverrides struct { } `json:"spawnerOverrides"` WorldX int `json:"worldX"` PrioritizeVolumesForTreasures bool `json:"prioritizeVolumesForTreasures"` Overrides []string `json:"overrides"` MinTreasureQuality int `json:"minTreasureQuality"` ID string `json:"id"` IslandWidth int `json:"islandWidth"` Resources []string `json:"resources"` Name string `json:"name"` }
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
Hub maintains the set of active clients and broadcasts messages to the clients.
type Island ¶
type Island struct { IslandID int `json:"IslandID"` X float64 `json:"X"` Y float64 `json:"Y"` Size float64 `json:"Size"` TribeID int `json:"TribeId"` Color string `json:"Color"` IslandPoints int `json:"IslandPoints"` SettlementName string `json:"SettlementName"` TaxRate float64 `json:"TaxRate"` CombatPhaseStartTime int `json:"CombatPhaseStartTime"` WarringTribeID int `json:"WarringTribeID"` WarStartUTC int `json:"WarStartUTC"` WarEndUTC int `json:"WarEndUTC"` NumSettlers int `json:"NumSettlers"` LastUpdate time.Time `json:"LastUpdate"` }
type IslandPackage ¶
type MapServer ¶
type MapServer struct {
// contains filtered or unexported fields
}
MapServer provides administrative services to an Atlas Cluster over http
type MessageEmbed ¶
type MessageEmbed struct { URL string `json:"url,omitempty"` Type string `json:"type,omitempty"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Timestamp string `json:"timestamp,omitempty"` Color int `json:"color,omitempty"` Image *MessageEmbedImage `json:"image,omitempty"` Thumbnail *MessageEmbedThumbnail `json:"thumbnail,omitempty"` Video *MessageEmbedVideo `json:"video,omitempty"` Provider *MessageEmbedProvider `json:"provider,omitempty"` Author *MessageEmbedAuthor `json:"author,omitempty"` Fields []*MessageEmbedField `json:"fields,omitempty"` }
An MessageEmbed stores data for message embeds.
type MessageEmbedAuthor ¶
type MessageEmbedAuthor struct { URL string `json:"url,omitempty"` Name string `json:"name,omitempty"` IconURL string `json:"icon_url,omitempty"` ProxyIconURL string `json:"proxy_icon_url,omitempty"` }
MessageEmbedAuthor is a part of a MessageEmbed struct.
type MessageEmbedField ¶
type MessageEmbedField struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Inline bool `json:"inline,omitempty"` }
MessageEmbedField is a part of a MessageEmbed struct.
type MessageEmbedFooter ¶
type MessageEmbedFooter struct {}
MessageEmbedFooter is a part of a MessageEmbed struct.
type MessageEmbedImage ¶
type MessageEmbedImage struct { URL string `json:"url,omitempty"` ProxyURL string `json:"proxy_url,omitempty"` Width int `json:"width,omitempty"` Height int `json:"height,omitempty"` }
MessageEmbedImage is a part of a MessageEmbed struct.
type MessageEmbedProvider ¶
type MessageEmbedProvider struct { URL string `json:"url,omitempty"` Name string `json:"name,omitempty"` }
MessageEmbedProvider is a part of a MessageEmbed struct.
Click to show internal directories.
Click to hide internal directories.