Class Filterable<T>
java.lang.Object
com.github.retrooper.packetevents.util.Filterable<T>
-
Constructor Summary
ConstructorDescriptionFilterable
(T raw) Filterable
(T raw, Optional<T> filtered) Filterable
(T raw, T filtered) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getRaw()
int
hashCode()
static <T> Filterable
<T> read
(PacketWrapper<?> wrapper, PacketWrapper.Reader<T> reader) void
setFiltered
(T filtered) void
static <T> void
write
(PacketWrapper<?> wrapper, Filterable<T> filterable, PacketWrapper.Writer<T> writer)
-
Constructor Details
-
Filterable
-
Filterable
-
Filterable
-
-
Method Details
-
read
-
write
public static <T> void write(PacketWrapper<?> wrapper, Filterable<T> filterable, PacketWrapper.Writer<T> writer) -
getRaw
-
setRaw
-
getFiltered
-
setFiltered
-
equals
-
hashCode
public int hashCode()
-