MaskingLibrary.CompiledZMaskpublic static class MUDZapper.CompiledZapperMaskImpl extends java.lang.Object implements MaskingLibrary.CompiledZMask
| Constructor | Description |
|---|---|
CompiledZapperMaskImpl(MaskingLibrary.CompiledZMaskEntry[][] entries,
boolean useItem,
boolean useRoom) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
empty() |
Returns whether the mask is empty and always passes
|
MaskingLibrary.CompiledZMaskEntry[][] |
entries() |
Returns a list of ZapperMask entries, where all the
list entries must pass for the mask to pass
|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
boolean |
useItemFlag() |
As some mask entries only apply to items, set this flag
if an item MIGHT be masked, or if the mask contains item
entries, and thus an item needs creating to do the check.
|
boolean |
useRoomFlag() |
As some mask entries only apply to rooms, set this flag
if an item MIGHT be masked, or if the mask contains location
entries, and thus a room needs referencing to do the check.
|
public CompiledZapperMaskImpl(MaskingLibrary.CompiledZMaskEntry[][] entries, boolean useItem, boolean useRoom)
public boolean useItemFlag()
MaskingLibrary.CompiledZMaskuseItemFlag in interface MaskingLibrary.CompiledZMaskpublic boolean useRoomFlag()
MaskingLibrary.CompiledZMaskuseRoomFlag in interface MaskingLibrary.CompiledZMaskpublic boolean empty()
MaskingLibrary.CompiledZMaskempty in interface MaskingLibrary.CompiledZMaskpublic MaskingLibrary.CompiledZMaskEntry[][] entries()
MaskingLibrary.CompiledZMaskentries in interface MaskingLibrary.CompiledZMaskMaskingLibrary.CompiledZMaskEntrypublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object