mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-08 08:23:11 +00:00
@@ -13,6 +13,7 @@ import com.l2jserver.model.world.character.CharacterCalculatedAttributes;
|
||||
import com.l2jserver.model.world.character.CharacterClass;
|
||||
import com.l2jserver.model.world.character.CharacterFriendList;
|
||||
import com.l2jserver.model.world.character.CharacterInventory;
|
||||
import com.l2jserver.model.world.character.CharacterShortcutContainer;
|
||||
|
||||
/**
|
||||
* This class represents a playable character in Lineage II world.
|
||||
@@ -69,6 +70,11 @@ public class L2Character extends Player {
|
||||
* The list of friend of this character
|
||||
*/
|
||||
private final CharacterFriendList friendList = new CharacterFriendList(this);
|
||||
/**
|
||||
* The shortcut container of this character
|
||||
*/
|
||||
private final CharacterShortcutContainer shortcuts = new CharacterShortcutContainer(
|
||||
this);
|
||||
|
||||
/**
|
||||
* Creates a new instance
|
||||
@@ -239,6 +245,13 @@ public class L2Character extends Player {
|
||||
return friendList;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the shortcuts
|
||||
*/
|
||||
public CharacterShortcutContainer getShortcuts() {
|
||||
return shortcuts;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CharacterID getID() {
|
||||
return (CharacterID) super.getID();
|
||||
|
||||
Reference in New Issue
Block a user