mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-19 10:24:47 +01:00
Initial commit
This commit is contained in:
13
src/main/java/emu/grasscutter/net/packet/Opcodes.java
Normal file
13
src/main/java/emu/grasscutter/net/packet/Opcodes.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package emu.grasscutter.net.packet;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Opcodes {
|
||||
/** Opcode for the packet/handler */
|
||||
int value();
|
||||
|
||||
/** HANDLER ONLY - will disable this handler from being registered */
|
||||
boolean disabled() default false;
|
||||
}
|
||||
Reference in New Issue
Block a user