Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 2.81 KB

File metadata and controls

33 lines (20 loc) · 2.81 KB

Release Notes

  • Fixed a bug where Factories were not setting null strings on missing keys. ()
  • Fixed a bug where the HeroFactory would fail to set a Hero's contents, making game data unavailable for those entities. ()
  • Added SkillFactory::getByNameId() for easier Ability and Talent access. This includes Factory indexing under the hood. ()
  • Added Talent::abilities() to get the name IDs for linked Abilities ()
  • Gamestring class added to add formatting for all StringProvider output on Entities ()
  • StringProvider locale constants have been moved to a single array constant, LOCALE ()
  • BaseEntity::string() now returns the new Gamestring type (still string compatible) ()
  • BaseEntity::string() now throws a RuntimeException if the key does not exist ()
  • BaseFactory::getStrings() now detects any relevant strings in a Factory's subGroup; thus BaseFactory::$stringsKeys is also removed ()

Added

  • BaseEntity::string(string $key) New method for accessing Entity curated game strings ()

Removed

  • BC Because of BaseEntity::string() the Skill strings are no longer included in its $contents for magic access ()