Class AdminChatBucket
java.lang.Object
games.stendhal.server.entity.player.PlayerChatBucket
games.stendhal.server.entity.player.AdminChatBucket
a special PlayerChatBucket for admins which does not limit the message
(postman generates at least twice the amount of manages than the attacker).
- Author:
- hendrik
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckAndAdd(int count) checks that the bucket is not full, yet and adds the turn in case there is still room.
-
Constructor Details
-
AdminChatBucket
public AdminChatBucket()
-
-
Method Details
-
checkAndAdd
public boolean checkAndAdd(int count) Description copied from class:PlayerChatBucketchecks that the bucket is not full, yet and adds the turn in case there is still room.- Overrides:
checkAndAddin classPlayerChatBucket- Parameters:
count- length of chat message- Returns:
- true if the bucket is not full, yet; false otherwise.
-