Skip to main content

Module character

Module character 

Source
Expand description

Character section model and per-format codecs. Character section model and format-specific codecs.

[title_for_progression_d2r] and Character::title_d2r implement the default D2R title rules. Save::title_d2r() is the canonical entry point. Modded title systems are out of scope.

Re-exports§

pub use codec::decode_for_format;
pub use codec::encode_for_format;
pub use codec::expected_length_for_format;
pub use codec::CharacterCodec;
pub use v105::CharacterCodecV105;
pub use v99::CharacterCodecV99;

Modules§

codec
common
mercenary
v99
v105

Structs§

Character
In-memory representation of the character section.
Status
Status bitfield for the character section.

Constants§

DEFAULT_CLASS
Default class used when constructing a blank Character.
DEFAULT_NAME
Default placeholder name used when constructing a blank Character.

Functions§

title_for_progression_d2r
Return the default D2R title for the given progression tuple.