mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-29 07:52:53 +08:00
14 lines
349 B
Java
14 lines
349 B
Java
|
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;
|
||
|
}
|