Added a legacy type id system to CUI.
Selection types can send fallback typeids and information now, for older WECUI versions to use.
This commit is contained in:
@@ -570,6 +570,10 @@ public class LocalSession {
|
||||
return;
|
||||
}
|
||||
|
||||
final String legacyTypeId = selector.getLegacyTypeId();
|
||||
if (legacyTypeId != null) {
|
||||
player.dispatchCUIEvent(new SelectionShapeEvent(legacyTypeId));
|
||||
}
|
||||
player.dispatchCUIEvent(new SelectionShapeEvent(selector.getTypeId()));
|
||||
|
||||
if (selector instanceof CUIPointBasedRegion) {
|
||||
|
||||
Reference in New Issue
Block a user