Skip to content

Make EntityRegistry.RegisterSidToTypeConnection public - #1193

Closed
aonkeeper4 wants to merge 1 commit into
EverestAPI:devfrom
aonkeeper4:patch-1
Closed

aonkeeper4 wants to merge 1 commit into
EverestAPI:devfrom
aonkeeper4:patch-1

Conversation

@aonkeeper4

Copy link
Copy Markdown
Contributor

This PR publicises EntityRegistry.RegisterSidToTypeConnection, as currently it is the only way besides a [CustomEntity] attribute to add an entity to the entity registry. This makes it useful for other mods making their own [CustomEntity]-style attributes, such as https://github.com/aonkeeper4/aonHelper/blob/main/Source/Helpers/GlobalHelper.cs#L5 .

@SnipUndercover

Copy link
Copy Markdown
Member

Closing as #1182 already exists.

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.

2 participants