Skip to content

Conversation

@mastahg
Copy link
Contributor

@mastahg mastahg commented Oct 6, 2025

Currently LL supports two regions, global and CN .
With the upcoming TraditionalChinese version that has received numerous inquiries about its support I wanted reduce the burden of supporting multiple game regions.
Most patterns transition from global->CN , but require manually adjusting them when a new CN version comes out by adding a OffsetCN attribute to the field.

This new system introduces a flag enum that specifies how granular a offset should be.
Now when a new global version is introduced, the old Offset attribute can be replaced with a OffsetNG attribute. This attribute indicates that non global versions should search for this pattern. Multiple OffsetNG attributes can be placed on a single field and they will all be searched.

This means when a new CN, TC, KR version is released a new LL is not needed, the existing patterns will be scanned.

If there is a offset that requires a specific pattern, the Offset attribute takes an optional flag that can restrict which versions should use that offset.

There are a few things that can be improved for this PR:

OffsetAttributeExtensions.GetPattern currently returns a empty string as now a field may have multiple patterns
ForceClientMode hasn't been tested
It might make sense to add optional priority to OffsetNG to indicate which ones should be searched first
How to handle offsets when transitioning to a new expansion

Probably not ready to be merged without some discussion.

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