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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkAndAdd(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:PlayerChatBucket
checks that the bucket is not full, yet and adds the turn in case there is still room.- Overrides:
checkAndAdd
in classPlayerChatBucket
- Parameters:
count
- length of chat message- Returns:
- true if the bucket is not full, yet; false otherwise.
-