Skip to content

feat: 世界情報にエンティティおよびURNに基づくメソッドを追加#119

Merged
shima004 merged 1 commit intomainfrom
feature/add-world-info-method
Feb 12, 2026
Merged

feat: 世界情報にエンティティおよびURNに基づくメソッドを追加#119
shima004 merged 1 commit intomainfrom
feature/add-world-info-method

Conversation

@shima004
Copy link
Member

This pull request adds new utility methods to the WorldInfo class to make it easier to retrieve entities and their IDs, either for all entities or filtered by URNs. These additions improve the API's usability and flexibility when working with entities in the world model.

Entity retrieval enhancements:

  • Added get_entities and get_entity_ids methods to return all entities and their IDs, respectively, from the world model.
  • Added get_entities_of_urns and get_entity_ids_of_urns methods to retrieve entities and their IDs filtered by a list of EntityURN values.

Dependency update:

  • Imported EntityURN from rcrscore.urn to support the new URN-based filtering methods.

@shima004 shima004 self-assigned this Feb 12, 2026
@shima004 shima004 merged commit d065859 into main Feb 12, 2026
4 of 5 checks passed
@shima004 shima004 deleted the feature/add-world-info-method branch February 12, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant