Package gg.xp.xivsupport.callouts
Class RawModifiedCallout<X>
java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.xivsupport.callouts.RawModifiedCallout<X>
- All Implemented Interfaces:
Event
,HasPrimaryValue
,HasCalloutTrackingKey
,Serializable
public class RawModifiedCallout<X>
extends BaseEvent
implements HasCalloutTrackingKey, HasPrimaryValue
- See Also:
-
Constructor Summary
ConstructorDescriptionRawModifiedCallout
(String description, String tts, String text, @Nullable String sound, X event, Map<String, Object> arguments, Function<? super X, ? extends @Nullable Component> guiProvider, Predicate<RawModifiedCallout<X>> expiry, @Nullable Color colorOverride, @Nullable ModifiedCalloutHandle handle) -
Method Summary
Modifier and TypeMethodDescriptionvoid
@Nullable Color
getEvent()
@Nullable ModifiedCalloutHandle
@Nullable HasCalloutTrackingKey
@Nullable String
getSound()
getText()
getTts()
void
setColorOverride
(Color colorOverride) void
setReplaces
(@Nullable HasCalloutTrackingKey replaces) boolean
toString()
Methods inherited from class gg.xp.reevent.events.BaseEvent
delayedEnqueueAt, effectiveTimeNow, getCreatedAt, getEffectiveHappenedAt, getEffectiveTimeSince, getEnqueuedAt, getHappenedAt, getParent, getPumpedAt, getPumpFinishedAt, getSourceEventHandler, isImported, setDelayedEnqueueAt, setDelayedEnqueueOffset, setDelayedEnqueueOffset, setEnqueuedAt, setHappenedAt, setImported, setParent, setPumpedAt, setPumpFinishedAt, setSourceEventHandler, setTimeSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface gg.xp.reevent.events.Event
combineWith, delayedEnqueueAtFront, dumpFields, getThisOrParentOfType, shouldSave
-
Constructor Details
-
RawModifiedCallout
public RawModifiedCallout(String description, String tts, String text, @Nullable @Nullable String sound, @Nullable X event, Map<String, Object> arguments, Function<? super X, ? extends @Nullable Component> guiProvider, Predicate<RawModifiedCallout<X>> expiry, @Nullable @Nullable Color colorOverride, @Nullable @Nullable ModifiedCalloutHandle handle)
-
-
Method Details
-
getTts
-
getText
-
getEvent
-
getArguments
-
getGuiProvider
-
getExpiry
-
getReplaces
-
getColorOverride
-
getSound
-
getHandle
-
setReplaces
-
shouldLogError
public boolean shouldLogError() -
trackingKey
- Specified by:
trackingKey
in interfaceHasCalloutTrackingKey
-
getPrimaryValue
- Specified by:
getPrimaryValue
in interfaceHasPrimaryValue
- Returns:
- A text description of this object. Should be user-friendly and not over-the-top technical (fine-grained
details belong in other fields, or in the
Object.toString()
method).
-
setColorOverride
-
getDescription
-
forceExpire
public void forceExpire() -
toString
-