Class GuildCommunicationService
Object
GuildCommunicationService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendMessage
(String aMessage) communication method to everyone in the guild, that is active.void
sendMessage
(Person aPerson, String aMessage) character communication method to everyone in the guild.
-
Method Details
-
sendMessage
communication method to everyone in the guild, that is active. The message is not parsed. Bear in mind that this method should only be used for communication about environmental issues. If the communication originates from a User/Person, you should use sendMessage(aPerson, aMessage). Otherwise the Ignore functionality will be omitted.- Parameters:
aMessage
- the message- Throws:
MudException
- if the room is not correct- See Also:
-
sendMessage
character communication method to everyone in the guild. The message is parsed, based on who is sending the message.Example output: <span style="color:red;">[guild] Karn: Hello, everyone!</br></span>
- Parameters:
aPerson
- the person who is the source of the message.aMessage
- the message- Throws:
MudException
- See Also:
-