Package gg.xp.telestosupport
Class TelestoMain
java.lang.Object
gg.xp.telestosupport.TelestoMain
- All Implemented Interfaces:
FilteredEventHandler
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTelestoMain
(EventMaster master, PersistenceProvider pers, PrimaryLogSource pls) -
Method Summary
Modifier and TypeMethodDescriptionboolean
enabled
(EventContext context) void
handleGameCommand
(EventContext context, TelestoGameCommand event) void
handleMapChange
(EventContext context, MapChangeEvent mce) void
handleMessage
(EventContext context, TelestoOutgoingMessage msg) void
handlePartyChange
(EventContext context, ActorControlEvent ace) void
handlePartyChange
(EventContext context, PartyChangeEvent pce) void
handleZoneChange
(EventContext context, ZoneChangeEvent zce) makeMessage
(int id, @NotNull String type, @Nullable Object payload, boolean delay) makeMessage
(Map<String, Object> payload, boolean delay) void
@Nullable HttpResponse<String>
-
Field Details
-
GAME_CMD_ID
public static final int GAME_CMD_ID- See Also:
-
PARTY_UPDATE_ID
public static final int PARTY_UPDATE_ID- See Also:
-
-
Constructor Details
-
TelestoMain
-
-
Method Details
-
refreshPartyIfEnabled
public void refreshPartyIfEnabled() -
handleGameCommand
-
makeMessage
public TelestoOutgoingMessage makeMessage(int id, @NotNull @NotNull String type, @Nullable @Nullable Object payload, boolean delay) -
makeMessage
-
handlePartyChange
-
handlePartyChange
-
handleZoneChange
-
handleMapChange
-
sendMessageDirectly
-
handleMessage
-
getUriSetting
-
getStatus
-
getEnablePartyList
-
enabled
- Specified by:
enabled
in interfaceFilteredEventHandler
-
getCommandDelayBase
-
getCommandDelayPlus
-