Merge remote-tracking branch 'upstream/2.X' into 2.X
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
# Conflicts: # api/src/main/java/lol/pyr/znpcsplus/api/interaction/ActionRegistry.java
This commit is contained in:
commit
edee3efe36
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ package lol.pyr.znpcsplus.api.interaction;
|
||||||
|
|
||||||
public interface ActionRegistry {
|
public interface ActionRegistry {
|
||||||
void register(InteractionActionType<?> type);
|
void register(InteractionActionType<?> type);
|
||||||
|
|
||||||
void unregister(Class<? extends InteractionAction> clazz);
|
void unregister(Class<? extends InteractionAction> clazz);
|
||||||
<T extends InteractionAction> T deserialize(String str);
|
<T extends InteractionAction> T deserialize(String str);
|
||||||
<T extends InteractionAction> String serialize(T action);
|
<T extends InteractionAction> String serialize(T action);
|
||||||
|
|
Loading…
Reference in a new issue