Atavism Version 2018.1AGIS API

atavism.agis.plugins
Class AgisWorldManagerClient

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

public class AgisWorldManagerClient
extends java.lang.Object

AGIS-specific calls for sending/getting messages to the AgisWorldManagerPlugin


Nested Class Summary
static class AgisWorldManagerClient.ChangeInstanceMessage
           
static class AgisWorldManagerClient.CheckIfTargetsInAreaMessage
           
static class AgisWorldManagerClient.ReturnToLastInstanceMessage
           
static class AgisWorldManagerClient.ServerTimeMessage
           
static class AgisWorldManagerClient.SetMovementStateMessage
          Message used to put a bag item from the players inventory into a bag slot.
static class AgisWorldManagerClient.WaterRegionTransitionMessage
          Message used to put a bag item from the players inventory into a bag slot.
 
Field Summary
static MessageType MSG_TYPE_CANCEL_LOGOUT_REQUEST
           
static MessageType MSG_TYPE_CHANGE_INSTANCE
           
static MessageType MSG_TYPE_CHANGE_INSTANCE_REQUEST
           
static MessageType MSG_TYPE_CHECK_IF_TARGETS_IN_AREA
           
static MessageType MSG_TYPE_GLOBAL_CHAT
           
static MessageType MSG_TYPE_LEAVE_INSTANCE
           
static MessageType MSG_TYPE_LOGOUT_REQUEST
           
static MessageType MSG_TYPE_RETURN_TO_LAST_INSTANCE
           
static MessageType MSG_TYPE_SERVER_TIME
           
static MessageType MSG_TYPE_SET_MOVEMENT_STATE
           
static MessageType MSG_TYPE_SET_UNDERWATER
           
static MessageType MSG_TYPE_WATER_REGION_TRANSITION
           
 
Constructor Summary
AgisWorldManagerClient()
           
 
Method Summary
static java.util.ArrayList<OID> checkIfTargetsInArea(java.util.ArrayList<OID> targetsToCheck, Point loc, int radius)
           
static void returnToLastInstance(OID playerOid)
           
static void sendChangeInstance(OID playerOid, int instanceID, Point loc)
          Sends the ChangeInstanceMessage.
static void sendChangeInstance(OID playerOid, int instanceID, Point loc, java.lang.String suffix)
           
static void sendServerTime(int hour, int minute)
           
static void sendSetMovementStateMessage(OID oid, int movementState)
          Sends the SetMovementStateMessage.
static void sendWaterRegionTransitionMessage(OID oid, int regionID, boolean entering)
          Sends the WaterRegionTransitionMessage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_TYPE_SET_MOVEMENT_STATE

public static final MessageType MSG_TYPE_SET_MOVEMENT_STATE

MSG_TYPE_WATER_REGION_TRANSITION

public static final MessageType MSG_TYPE_WATER_REGION_TRANSITION

MSG_TYPE_SET_UNDERWATER

public static final MessageType MSG_TYPE_SET_UNDERWATER

MSG_TYPE_CHANGE_INSTANCE

public static final MessageType MSG_TYPE_CHANGE_INSTANCE

MSG_TYPE_RETURN_TO_LAST_INSTANCE

public static final MessageType MSG_TYPE_RETURN_TO_LAST_INSTANCE

MSG_TYPE_SERVER_TIME

public static final MessageType MSG_TYPE_SERVER_TIME

MSG_TYPE_LOGOUT_REQUEST

public static final MessageType MSG_TYPE_LOGOUT_REQUEST

MSG_TYPE_CANCEL_LOGOUT_REQUEST

public static final MessageType MSG_TYPE_CANCEL_LOGOUT_REQUEST

MSG_TYPE_CHECK_IF_TARGETS_IN_AREA

public static final MessageType MSG_TYPE_CHECK_IF_TARGETS_IN_AREA

MSG_TYPE_GLOBAL_CHAT

public static final MessageType MSG_TYPE_GLOBAL_CHAT

MSG_TYPE_LEAVE_INSTANCE

public static final MessageType MSG_TYPE_LEAVE_INSTANCE

MSG_TYPE_CHANGE_INSTANCE_REQUEST

public static final MessageType MSG_TYPE_CHANGE_INSTANCE_REQUEST
Constructor Detail

AgisWorldManagerClient

public AgisWorldManagerClient()
Method Detail

sendSetMovementStateMessage

public static void sendSetMovementStateMessage(OID oid,
                                               int movementState)
Sends the SetMovementStateMessage.

Parameters:
oid -
itemOid -
bagSpotNum -

sendWaterRegionTransitionMessage

public static void sendWaterRegionTransitionMessage(OID oid,
                                                    int regionID,
                                                    boolean entering)
Sends the WaterRegionTransitionMessage.

Parameters:
oid -
itemOid -
bagSpotNum -

sendChangeInstance

public static void sendChangeInstance(OID playerOid,
                                      int instanceID,
                                      Point loc)
Sends the ChangeInstanceMessage.

Parameters:
oid -
instanceID -
loc -

sendChangeInstance

public static void sendChangeInstance(OID playerOid,
                                      int instanceID,
                                      Point loc,
                                      java.lang.String suffix)

returnToLastInstance

public static void returnToLastInstance(OID playerOid)

sendServerTime

public static void sendServerTime(int hour,
                                  int minute)

checkIfTargetsInArea

public static java.util.ArrayList<OID> checkIfTargetsInArea(java.util.ArrayList<OID> targetsToCheck,
                                                            Point loc,
                                                            int radius)


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