|
|||||||||
Atavism Version 2018.1 | AGIS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatavism.agis.plugins.ArenaClient
public class ArenaClient
This class is responsible for sending out messages associated with the Arena System. The majority (if not all) of the messages should be caught by the ArenaPlugin class.
Nested Class Summary | |
---|---|
static class |
ArenaClient.addArenaCreatureMessage
|
static class |
ArenaClient.arenaKillMessage
|
static class |
ArenaClient.despawnGatesMessage
|
static class |
ArenaClient.dotScoreMessage
|
static class |
ArenaClient.duelChallengeAcceptMessage
|
static class |
ArenaClient.duelChallengeDeclineMessage
|
static class |
ArenaClient.duelChallengeDisconnectMessage
|
static class |
ArenaClient.duelChallengeMessage
|
static class |
ArenaClient.duelChallengeRemoveMessage
|
static class |
ArenaClient.duelDefeatMessage
|
static class |
ArenaClient.duelDisconnectMessage
|
static class |
ArenaClient.duelRemoveMessage
|
static class |
ArenaClient.duelStartMessage
|
static class |
ArenaClient.endArenaMessage
|
static class |
ArenaClient.getArenaStatsMessage
|
static class |
ArenaClient.removeEffectsMessage
|
static class |
ArenaClient.removePlayerMessage
|
static class |
ArenaClient.resourceNodeAssaultedMessage
|
static class |
ArenaClient.startArenaCheckMessage
|
Constructor Summary | |
---|---|
protected |
ArenaClient()
|
Method Summary | |
---|---|
static void |
addArenaCreature(java.lang.Long creatureOid,
int arenaID)
Sends the addArenaCreatureMessage which will add the oid of the creature to the specified arena's list of creatures. |
static void |
arenaDeath(OID k,
OID v)
Sends the arenaDeathMessage which will cause the scores to be updated for the arena the killer/victim was in. |
static void |
arenaReleaseRequest(OID oid)
|
static void |
despawnGates(OID instanceOid,
int arenaID)
Sends the despawnGatesMessage which will cause the gates in the specified instance to be removed. |
static void |
dotScore(OID oid)
Sends the dotScoreMessage which will cause the scores to be updated for the arena where the player who ate the dot is in. |
static void |
duelChallenge(OID challenger,
OID challenged)
Sends the duelChallengeMessage which will create a new Duel Challenge object. |
static void |
duelChallengeAccept(OID accepterOid)
Sends the duelChallengeAcceptMessage which will update the accepted status of the player for their corresponding duel challenge. |
static void |
duelChallengeDecline(OID declinerOid)
Sends the duelChallengeDeclineMessage which will end the duel challenge. |
static void |
duelChallengeDisconnect(OID defeatedOid,
java.lang.String name,
int challengeID)
Sends the duelChallengeDisconnectMessage which will remove the player from whatever duel they are in |
static void |
duelChallengeRemove(int challengeID)
Sends the duelChallengeRemoveMessage which will remove the duelChallenge object from the ArenaPlugin. |
static void |
duelDefeat(OID defeatedOid)
Sends the duelDefeatMessage which will remove the player from whatever duel they are in |
static void |
duelDisconnect(OID defeatedOid,
java.lang.String name,
int duelID)
Sends the duelDisconnectMessage which will remove the player from whatever duel they are in |
static void |
duelRemove(int duelID)
Sends the duelRemoveMessage which will remove the duelChallenge object from the ArenaPlugin. |
static void |
duelStart(int challengeID)
Sends the duelStartMessage which will remove the duelChallenge object and create a new Duel object with the players from the challenge. |
static void |
endArena(int arenaID)
Sends the endArenaMessage which will cause the arena to be removed from the Map stored in the ArenaPlugin. |
static void |
getArenaStats(OID oid,
int statsType)
Sends the getArenaStatsMessage which will cause the list of arena stats to be sent to the requesting client. |
static void |
removeEffects(OID oid,
java.lang.String type,
int ID)
Sends the removeEffectsMessage which will remove any effects the layer had from the duel or arena |
static void |
removePlayer(OID oid)
Sends the removePlayerMessage which will cause the specified player to be removed from any arena they are currently in. |
static void |
resourceNodeAssaulted(OID oid,
OID nodeOid)
Sends the resourceNodeAssaultedMessage which will cause the list of arena stats to be sent to the requesting client. |
static void |
startArenaCheck()
Sends the startArenaCheckMessage which will cause the ArenaCheck class to be run every second. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final MessageType MSG_TYPE_LEAVE_ARENA
public static final MessageType MSG_TYPE_START_ARENA_CHECK
public static final MessageType MSG_TYPE_ADD_CREATURE
public static final MessageType MSG_TYPE_DESPAWN_GATES
public static final MessageType MSG_TYPE_END_ARENA
public static final MessageType MSG_TYPE_GET_ARENA_TYPES
public static final MessageType MSG_TYPE_GET_ARENA_LIST
public static final MessageType MSG_TYPE_JOIN_QUEUE
public static final MessageType MSG_TYPE_LEAVE_QUEUE
public static final MessageType MSG_TYPE_GROUP_JOIN_QUEUE
public static final MessageType MSG_TYPE_GROUP_LEAVE_QUEUE
public static final MessageType MSG_TYPE_REMOVE_PLAYER
public static final MessageType MSG_TYPE_ARENA_KILL
public static final MessageType MSG_TYPE_RELEASE_REQUEST
public static final MessageType MSG_TYPE_DOT_SCORE
public static final MessageType MSG_TYPE_DUEL_CHALLENGE
public static final MessageType MSG_TYPE_DUEL_ACCEPT_CHALLENGE
public static final MessageType MSG_TYPE_DUEL_DECLINE_CHALLENGE
public static final MessageType MSG_TYPE_DUEL_CHALLENGE_DISCONNECT
public static final MessageType MSG_TYPE_DUEL_CHALLENGE_REMOVE
public static final MessageType MSG_TYPE_DUEL_START
public static final MessageType MSG_TYPE_DUEL_DEFEAT
public static final MessageType MSG_TYPE_DUEL_DISCONNECT
public static final MessageType MSG_TYPE_DUEL_REMOVE
public static final MessageType MSG_TYPE_REMOVE_EFFECTS
public static final MessageType MSG_TYPE_GET_ARENA_STATS
public static final MessageType MSG_TYPE_ACTIVATE_ARENA_ABILITY
public static final MessageType MSG_TYPE_COMPLETE_TUTORIAL
public static final MessageType MSG_TYPE_SELECT_RACE
public static final MessageType MSG_TYPE_CHANGE_RACE
public static final MessageType MSG_TYPE_PICKUP_FLAG
public static final MessageType MSG_TYPE_DROP_FLAG
public static final MessageType MSG_TYPE_ACTIVATE_MACHINE
public static final MessageType MSG_TYPE_ALTER_EXP
public static Namespace NAMESPACE
Constructor Detail |
---|
protected ArenaClient()
Method Detail |
---|
public static void startArenaCheck() throws java.io.IOException
java.io.IOException
public static void addArenaCreature(java.lang.Long creatureOid, int arenaID)
creatureOid:
- the identifier for the creaturearenaID:
- the identifier for the arena which will have this creature addedpublic static void despawnGates(OID instanceOid, int arenaID)
instanceOid:
- the identifier for the instance which needs the gates removedarenaID:
- the identifier for the arena which needs the gates removedpublic static void endArena(int arenaID)
arenaID:
- the identifier of the arena that has endedpublic static void removePlayer(OID oid)
oid:
- the player who is going to be removedpublic static void arenaDeath(OID k, OID v)
k:
- the oid of the killerv:
- the oid of the victimpublic static void dotScore(OID oid)
oid:
- the oid of the player who ate the dotpublic static void duelChallenge(OID challenger, OID challenged)
challenger:
- the oid of the challengerchallenged:
- the oid of the challengedpublic static void duelChallengeAccept(OID accepterOid)
accepterOid:
- the oid of the accepterpublic static void duelChallengeDecline(OID declinerOid)
declinerOid:
- the oid of the declinerpublic static void duelChallengeDisconnect(OID defeatedOid, java.lang.String name, int challengeID)
challengeID:
- the id of the duel challengepublic static void duelChallengeRemove(int challengeID)
challengeID:
- the id of the duel challengepublic static void duelStart(int challengeID)
challengeID:
- the id of the duel challengepublic static void duelDefeat(OID defeatedOid)
challengeID:
- the id of the duel challengepublic static void duelDisconnect(OID defeatedOid, java.lang.String name, int duelID)
challengeID:
- the id of the duel challengepublic static void duelRemove(int duelID)
challengeID:
- the id of the duel challengepublic static void removeEffects(OID oid, java.lang.String type, int ID)
ID:
- the id of the duel or arenapublic static void getArenaStats(OID oid, int statsType)
oid:
- the oid of the player wanting the arena stats.public static void resourceNodeAssaulted(OID oid, OID nodeOid)
oid:
- the oid of the player wanting the arena stats.public static void arenaReleaseRequest(OID oid)
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |