Atavism Version 2018.1AGIS API

atavism.agis.plugins
Class ClassAbilityClient

java.lang.Object
  extended by atavism.agis.plugins.ClassAbilityClient

public class ClassAbilityClient
extends java.lang.Object


Nested Class Summary
static class ClassAbilityClient.GetPlayerSkillLevelMessage
           
static class ClassAbilityClient.LearnAbilityMessage
          Message used to tell the Combat system that the specified player is to learn the given ability.
static class ClassAbilityClient.levelChangeMessage
           
static class ClassAbilityClient.RewardExpForKillMessage
          Message used to tell the Combat system that the specified player is to learn the given ability.
static class ClassAbilityClient.skillAlterCurrentMessage
           
static class ClassAbilityClient.skillDecreasedMessage
           
static class ClassAbilityClient.skillGetMessage
           
static class ClassAbilityClient.skillIncreasedMessage
           
static class ClassAbilityClient.skillLevelChangeMessage
           
static class ClassAbilityClient.skillResetMessage
           
 
Field Summary
static MessageType MSG_TYPE_COMBAT_GET_PLAYER_SKILL_LEVEL
           
static MessageType MSG_TYPE_COMBAT_GET_SKILL
           
static MessageType MSG_TYPE_COMBAT_SKILL_ALTER_CURRENT
           
static MessageType MSG_TYPE_COMBAT_SKILL_DECREASE
           
static MessageType MSG_TYPE_COMBAT_SKILL_INCREASE
           
static MessageType MSG_TYPE_COMBAT_SKILL_RESET
           
static MessageType MSG_TYPE_HANDLE_EXP
           
static MessageType MSG_TYPE_LEARN_ABILITY
           
static MessageType MSG_TYPE_LEVEL_CHANGE
           
static MessageType MSG_TYPE_PURCHASE_SKILL_POINT
           
static MessageType MSG_TYPE_SET_SKILL_STATE
           
static MessageType MSG_TYPE_SKILL_LEVEL_CHANGE
           
static MessageType MSG_TYPE_STAT_XP_UPDATE
           
static Namespace NAMESPACE
           
 
Method Summary
static void CheckSkillAbilities(OID playerOid, java.lang.String skill, int level)
           
static int getPlayerSkillLevel(OID playerOid, int skillType)
           
static SkillTemplate getSkillTemplate(int num)
           
static void learnAbility(OID oid, int abilityID)
          Sends the LearnAbilityMessage which tells the Combat system to add the specified ability to the specified player.
static void levelChange(OID oid, int level)
           
static void rewardExpForKill(OID oid, java.util.HashMap<OID,java.lang.Integer> attackers)
           
static void sendXPUpdate(OID oid, java.lang.String statName, int statCurrentValue)
           
static void skillAlterCurrent(OID oid, int skillType, int alterValue)
           
static void skillDecreased(OID oid, int skillType)
           
static void skillIncreased(OID oid, int skillType)
          Called from extensions_proxy.py when the player wants to spend points to increase their skill level.
static void skillLevelChange(OID oid)
           
static void skillReset(OID oid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static Namespace NAMESPACE

MSG_TYPE_STAT_XP_UPDATE

public static final MessageType MSG_TYPE_STAT_XP_UPDATE

MSG_TYPE_HANDLE_EXP

public static final MessageType MSG_TYPE_HANDLE_EXP

MSG_TYPE_LEVEL_CHANGE

public static final MessageType MSG_TYPE_LEVEL_CHANGE

MSG_TYPE_SKILL_LEVEL_CHANGE

public static final MessageType MSG_TYPE_SKILL_LEVEL_CHANGE

MSG_TYPE_COMBAT_SKILL_INCREASE

public static final MessageType MSG_TYPE_COMBAT_SKILL_INCREASE

MSG_TYPE_COMBAT_SKILL_DECREASE

public static final MessageType MSG_TYPE_COMBAT_SKILL_DECREASE

MSG_TYPE_COMBAT_SKILL_RESET

public static final MessageType MSG_TYPE_COMBAT_SKILL_RESET

MSG_TYPE_COMBAT_SKILL_ALTER_CURRENT

public static final MessageType MSG_TYPE_COMBAT_SKILL_ALTER_CURRENT

MSG_TYPE_COMBAT_GET_SKILL

public static final MessageType MSG_TYPE_COMBAT_GET_SKILL

MSG_TYPE_COMBAT_GET_PLAYER_SKILL_LEVEL

public static final MessageType MSG_TYPE_COMBAT_GET_PLAYER_SKILL_LEVEL

MSG_TYPE_PURCHASE_SKILL_POINT

public static final MessageType MSG_TYPE_PURCHASE_SKILL_POINT

MSG_TYPE_LEARN_ABILITY

public static final MessageType MSG_TYPE_LEARN_ABILITY

MSG_TYPE_SET_SKILL_STATE

public static final MessageType MSG_TYPE_SET_SKILL_STATE
Method Detail

sendXPUpdate

public static void sendXPUpdate(OID oid,
                                java.lang.String statName,
                                int statCurrentValue)

CheckSkillAbilities

public static void CheckSkillAbilities(OID playerOid,
                                       java.lang.String skill,
                                       int level)

levelChange

public static void levelChange(OID oid,
                               int level)

skillLevelChange

public static void skillLevelChange(OID oid)

skillIncreased

public static void skillIncreased(OID oid,
                                  int skillType)
Called from extensions_proxy.py when the player wants to spend points to increase their skill level.

Parameters:
oid -
skillType -

skillDecreased

public static void skillDecreased(OID oid,
                                  int skillType)

skillReset

public static void skillReset(OID oid)

skillAlterCurrent

public static void skillAlterCurrent(OID oid,
                                     int skillType,
                                     int alterValue)

getSkillTemplate

public static SkillTemplate getSkillTemplate(int num)

getPlayerSkillLevel

public static int getPlayerSkillLevel(OID playerOid,
                                      int skillType)

learnAbility

public static void learnAbility(OID oid,
                                int abilityID)
Sends the LearnAbilityMessage which tells the Combat system to add the specified ability to the specified player.

Parameters:
oid -
abilityID -

rewardExpForKill

public static void rewardExpForKill(OID oid,
                                    java.util.HashMap<OID,java.lang.Integer> attackers)


Copyright © 2018 Dragonsan Studios Sp. z o.o.