Replace the override priority enum with an int
This commit is contained in:
+5
-3
@@ -1,5 +1,6 @@
|
||||
package com.seibel.lod.api.items.interfaces.override;
|
||||
|
||||
import com.seibel.lod.core.api.external.coreInterfaces.ICoreDhApiOverrideable;
|
||||
import com.seibel.lod.core.api.external.items.enums.override.EDhApiOverridePriority;
|
||||
import com.seibel.lod.core.handlers.dependencyInjection.IBindable;
|
||||
|
||||
@@ -7,14 +8,15 @@ import com.seibel.lod.core.handlers.dependencyInjection.IBindable;
|
||||
* Implemented by all DhApi objects that can be overridden.
|
||||
*
|
||||
* @author James Seibel
|
||||
* @version 2022-7-18
|
||||
* @version 2022-9-5
|
||||
*/
|
||||
public interface IDhApiOverrideable extends IBindable
|
||||
public interface IDhApiOverrideable extends ICoreDhApiOverrideable, IBindable
|
||||
{
|
||||
/**
|
||||
* Returns when this Override should be used. <br>
|
||||
* For most developers this can be left at the default.
|
||||
*/
|
||||
default EDhApiOverridePriority getOverrideType() { return EDhApiOverridePriority.PRIMARY; }
|
||||
@Override
|
||||
default EDhApiOverridePriority getPriority() { return EDhApiOverridePriority.PRIMARY; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user