Package gg.xp.reevent.events
Class BaseEvent
java.lang.Object
gg.xp.reevent.events.BaseEvent
- All Implemented Interfaces:
Event
,Serializable
- Direct Known Subclasses:
AbilityCastCancel
,AbilityCastStart
,AbilityResolvedEvent
,AbilityUsedEvent
,ActionSyncEvent
,ACTLogLineEvent
,ActorControlEvent
,ActorControlExtraEvent
,ActorControlSelfExtraEvent
,ActWsConnectionStatusChangedEvent
,ActWsJsonMsg
,ActWsRawMsg
,ActWsReconnectRequest
,ActWsVersionEvent
,AnimationLockEvent
,AstGaugeEvent
,AutoMarkKeyHandler.KeyPressRequest
,AutoMarkRequest
,AutoMarkSlotRequest
,BarrierUpEvent
,BaseCalloutEvent
,BaseDelayedEvent
,BaseTelestoResponse
,BasicEvent
,BattleTalkEvent
,BuffApplied
,BuffRemoved
,CastLocationDataEvent
,ChatLineEvent
,ClearAutoMarkRequest
,CombatantsUpdateRaw
,CountdownCanceledEvent
,CountdownStartedEvent
,CreateDoodleRequest
,CustomCooldownsUpdated
,DebugCommand
,DebugEvent
,DiagEvent
,DrkGaugeEvent
,DummyEvent
,DutyCommenceEvent
,EasyTriggersInitEvent
,EchoEvent
,EntityKilledEvent
,FadeInEvent
,FadeOutEvent
,FflogsMasterDataEvent
,FflogsRawEvent
,FflogsUnsupportedEvent
,FinalTitanJailsSolvedEvent
,ForceCombatEnd
,FRU.ApocDirectionsEvent
,FRU.FruP1TetherEvent
,FRU.TidalLightSafeSpotEvent
,GameLanguageInfoEvent
,GameVersionEvent
,GenericDamageEvent
,GenericHealEvent
,GnbGaugeEvent
,GroundTickEvent
,HeadMarkerEvent
,HpMpTickEvent
,InCombatChangeEvent
,InitEvent
,LimitBreakGaugeEvent
,MapChangeEvent
,MapEffectEvent
,MarkerPlacedEvent
,MarkerRemovedEvent
,MchGaugeEvent
,MechAssignmentEvent
,MultipleEvent
,NpcYellEvent
,OmegaFirstSetAssignments
,OmegaSecondSetAssignments
,OverlaysInitEvent
,P6STileEvent
,PartyChangeEvent
,PartyForceOrderChangeEvent
,PlayerChangedJobEvent
,PlayerMarkerPlacedEvent
,PlayerMarkerRemovedEvent
,PlayerStatsUpdatedEvent
,PlaySoundFileRequest
,PldGaugeEvent
,PnGameCommand
,PnOutgoingMessage
,PnStatusUpdatedEvent
,PrimaryPlayerOnlineStatusChangedEvent
,PullEndedEvent
,PullStartedEvent
,RawAddCombatantEvent
,RawJobGaugeEvent
,RawModifiedCallout
,RawOnlineStatusChanged
,RawPlayerChangeEvent
,RawRemoveCombatantEvent
,RefreshCombatantsRequest
,RefreshSpecificCombatantsRequest
,RprGaugeEvent
,RsvEvent
,SchGaugeEvent
,SgeGaugeEvent
,SnapshotLocationDataEvent
,SpecificAutoMarkRequest
,SpecificAutoMarkSlotRequest
,StatusEffectList
,StatusLoopVfxApplied
,StatusLoopVfxRemoved
,SystemLogMessageEvent
,TargetabilityUpdate
,TelestoGameCommand
,TelestoOutgoingMessage
,TelestoStatusUpdatedEvent
,TelestoSubscriptionMessage
,TetherEvent
,TickEvent
,TickUpdatedEvent
,TopologyReloadEvent
,TrinityFullEvent
,TrinityInitialEvent
,TrinitySecondEvent
,TtsRequest
,UnsortedTitanJailsSolvedEvent
,VictoryEvent
,WarGaugeEvent
,WhmGaugeEvent
,WipeEvent
,XivBuffsUpdatedEvent
,XivStateRecalculatedEvent
,ZoneChangeEvent
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
@Nullable Event
EventHandler<?>
boolean
void
setDelayedEnqueueAt
(long delayedEnqueueAt) void
setDelayedEnqueueOffset
(long fromNowMillis) void
setDelayedEnqueueOffset
(Duration fromNow) void
setEnqueuedAt
(Instant enqueuedAt) void
setHappenedAt
(Instant happenedAt) void
setImported
(boolean imported) void
void
setPumpedAt
(Instant pumpedAt) void
setPumpFinishedAt
(Instant pumpedAt) void
setSourceEventHandler
(EventHandler<?> source) void
setTimeSource
(CurrentTimeSource timeSource) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gg.xp.reevent.events.Event
combineWith, delayedEnqueueAtFront, dumpFields, getThisOrParentOfType, shouldSave
-
Constructor Details
-
BaseEvent
public BaseEvent()
-
-
Method Details
-
setParent
-
getParent
-
getHappenedAt
- Specified by:
getHappenedAt
in interfaceEvent
-
getCreatedAt
-
setHappenedAt
- Specified by:
setHappenedAt
in interfaceEvent
-
getEnqueuedAt
- Specified by:
getEnqueuedAt
in interfaceEvent
-
setEnqueuedAt
- Specified by:
setEnqueuedAt
in interfaceEvent
-
getPumpedAt
- Specified by:
getPumpedAt
in interfaceEvent
-
setPumpedAt
- Specified by:
setPumpedAt
in interfaceEvent
-
getPumpFinishedAt
- Specified by:
getPumpFinishedAt
in interfaceEvent
-
setPumpFinishedAt
- Specified by:
setPumpFinishedAt
in interfaceEvent
-
getSourceEventHandler
- Specified by:
getSourceEventHandler
in interfaceEvent
-
setSourceEventHandler
- Specified by:
setSourceEventHandler
in interfaceEvent
-
delayedEnqueueAt
public long delayedEnqueueAt()- Specified by:
delayedEnqueueAt
in interfaceEvent
- Returns:
- Timestamp (millis) for when the event should actually be enqueued. Used for delayed events.
-
setDelayedEnqueueAt
public void setDelayedEnqueueAt(long delayedEnqueueAt) -
setDelayedEnqueueOffset
-
setDelayedEnqueueOffset
public void setDelayedEnqueueOffset(long fromNowMillis) -
isImported
public boolean isImported()- Specified by:
isImported
in interfaceEvent
-
setImported
public void setImported(boolean imported) - Specified by:
setImported
in interfaceEvent
-
effectiveTimeNow
-
setTimeSource
-
getEffectiveHappenedAt
- Specified by:
getEffectiveHappenedAt
in interfaceEvent
-
getEffectiveTimeSince
-