Class ClajEvents.RoomInfoRejectedEvent
java.lang.Object
com.xpdustry.claj.server.ClajEvents.RoomInfoRejectedEvent
- Enclosing class:
ClajEvents
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ClajConnectionfinal booleantrueif the action was denied because of rate limit.final ClajRoomNotnulmeans that action was denied because the room is closing. -
Constructor Summary
ConstructorsConstructorDescriptionRoomInfoRejectedEvent(ClajConnection connection, ClajRoom room, boolean rateLimited) -
Method Summary
-
Field Details
-
connection
-
room
Notnulmeans that action was denied because the room is closing. -
rateLimited
public final boolean rateLimitedtrueif the action was denied because of rate limit.
if bothroomand field arenullandfalse, this means that the room was not found.
-
-
Constructor Details
-
RoomInfoRejectedEvent
-