module Wakdata::RestAPI::Cache

Defined in:

wakdata/rest-api/cache.cr

Constant Summary

ACTIONS_DATA = Hash(String, Array(Wakdata::Action)).new
BLUEPRINTS_DATA = Hash(String, Array(Wakdata::Blueprint)).new
COLLECTIBLE_RESOURCES_DATA = Hash(String, Array(Wakdata::CollectibleResource)).new
EQUIPMENT_ITEM_TYPES_DATA = Hash(String, Array(Wakdata::ItemType)).new
HARVEST_LOOTS_DATA = Hash(String, Array(Wakdata::HarvestLoot)).new
ITEM_PROPERTIES_DATA = Hash(String, Array(Wakdata::ItemProperty)).new
ITEM_TYPES_DATA = Hash(String, Array(Wakdata::ItemType)).new
ITEMS_DATA = Hash(String, Array(Wakdata::Item)).new
JOB_ITEMS_DATA = Hash(String, Array(Wakdata::JobItem)).new
RECIPE_CATEGORIES_DATA = Hash(String, Array(Wakdata::RecipeCategory)).new
RECIPE_INGREDIENTS_DATA = Hash(String, Array(Wakdata::RecipeIngredient)).new
RECIPE_RESULTS_DATA = Hash(String, Array(Wakdata::RecipeResult)).new
RECIPES_DATA = Hash(String, Array(Wakdata::Recipe)).new
RESOURCE_TYPES_DATA = Hash(String, Array(Wakdata::ResourceType)).new
RESOURCES_DATA = Hash(String, Array(Wakdata::Resource)).new
STATES_DATA = Hash(String, Array(Wakdata::State)).new
VERSION = Version.new

Class Method Summary

Macro Summary

Class Method Detail

def self.latest_version : String #

[View source]
def self.retrieve_actions_for(version : String) : Array(Wakdata::Action) | Nil #

def self.retrieve_blueprints_for(version : String) : Array(Wakdata::Blueprint) | Nil #

def self.retrieve_collectibleResources_for(version : String) : Array(Wakdata::CollectibleResource) | Nil #

def self.retrieve_equipmentItemTypes_for(version : String) : Array(Wakdata::ItemType) | Nil #

[View source]
def self.retrieve_harvestLoots_for(version : String) : Array(Wakdata::HarvestLoot) | Nil #

def self.retrieve_itemProperties_for(version : String) : Array(Wakdata::ItemProperty) | Nil #

def self.retrieve_items_for(version : String) : Array(Wakdata::Item) | Nil #

def self.retrieve_itemTypes_for(version : String) : Array(Wakdata::ItemType) | Nil #

def self.retrieve_jobItems_for(version : String) : Array(Wakdata::JobItem) | Nil #

def self.retrieve_recipeCategories_for(version : String) : Array(Wakdata::RecipeCategory) | Nil #

def self.retrieve_recipeIngredients_for(version : String) : Array(Wakdata::RecipeIngredient) | Nil #

def self.retrieve_recipeResults_for(version : String) : Array(Wakdata::RecipeResult) | Nil #

def self.retrieve_recipes_for(version : String) : Array(Wakdata::Recipe) | Nil #

def self.retrieve_resources_for(version : String) : Array(Wakdata::Resource) | Nil #

def self.retrieve_resourceTypes_for(version : String) : Array(Wakdata::ResourceType) | Nil #

def self.retrieve_states_for(version : String) : Array(Wakdata::State) | Nil #

Macro Detail

macro define_retrieve_data_for(all_data_name, constant_name, struct_name) #

[View source]
macro define_retrieve_data_with_specific_option_for(all_data_name, constant_name, struct_name, specific_options) #

[View source]