-
Notifications
You must be signed in to change notification settings - Fork 18
CharacterService
Rogiel edited this page Sep 13, 2011
·
2 revisions
This service manages all in-game characters. Every character move or attack event must go through it.
This service is also used to create and delete characters. When deleting, implementations should make sure they remove all traces (except for logs) from the character, including Item and CharacterFriend objects.
- ActorIsNotAttackableServiceException if trying to attack an non-attackable target.
- CannotSetTargetServiceException if trying to attack an target that is too far or cannot be seen (invisible).
- CharacterAlreadyRunningServiceException if trying to set character in RUN mode, but is already in RUN mode.
- CharacterAlreadyWalkingServiceException if trying to set character in WALK mode, but is already in WALK mode.
- CharacterInJailServiceException if character is in jail.
- CharacterInvalidAppearanceException if the appearance used to create character is not valid.
- CharacterInvalidNameException if the name choosen for the character is not valid.
- CharacterNameAlreadyExistsException if the character name choosen already exists.
- CharacterNotInJailServiceException if the character is not in jail.