Expand description
Chatr - Build Chat Codes for GW2
§Examples
use chatr::BuildTemplate;
use chatr::ChatCode;
let code = ChatCode::build("[&DQYpGyU+OD90AAAAywAAAI8AAACRAAAAJgAAAAAAAAAAAAAAAAAAAAAAAAA=]").unwrap();
let build = BuildTemplate::try_from_chatcode(&code).unwrap();
assert_eq!(build.profession, 6);
assert_eq!(build.healing.terrestrial, 116);
let chatcode = build.to_decorated_chatcode();
assert_eq!(chatcode, code.decorate());
Modules§
Structs§
- Build
Template - Chat
Code - Gear
Template - Inactive
Legend Utilities - Inactive
Legend Utilities Triple - Palette
Pair - 16-bit skill palette pairs
- Skill
- data structure for skills, as extracted from chat codes
- Update
- data structure for balance updates. Each value indicates something that was changed in this balance patch
- Weapon
Mastery - weapon mastery variant data. Currently only used in-game with non-untamed ranger builds wielding hammer