Module ryot::appearances

source ·
Expand description

This module contains the structs and enums that are used to load the graphical content of a OT based game, with assets from the client’s content folder. The content folder is the folder that contains the content-catalog.json file and the files that are listed in it. The content-catalog.json file is a list of resource files that the client needs to load. This module also wraps the protobuf representation of the appearances.dat file. See appearances.proto and the auto generated appearances.rs file for more information.

Structs§

Enums§

  • Those are the available contents within the content-catalog.json file There are 5 known types of content: appearances, staticdata, staticmapdata, map and sprite. Even though we deserialize all the 5 types, we only use the sprites and appearances in this library.

Functions§