Companion
object Companion
Properties
Link copied to clipboard
This is an empty TriggerDataHolder. It is used internally to create an undiscovered trigger.
Functions
Link copied to clipboard
fun fromStringMethods(eventType: Class<out Event>, vararg methods: Pair<DataRetrievalType, String>): TriggerDataHolder
Does the same thing as the public constructor, but creates the methods from strings. If the method has not been found, skips the entry entirely. eventType is the type of the trigger event and methods are the methods, encapsulated in pairs of DataRetrievalType and String.