Event.setPayload()

Signature

void setPayload(SimpleEvent target, SimpleEvent source)

Domain

ACTION, CONDITION, BUI

Description

Makes the target SimpleEvent use the same payload as the source SimpleEvent.

Parameters

NameTypeDescription
targetSimpleEventThe SimpleEvent whose payload is being set.
sourceSimpleEventThe SimpleEvent from which the payload is obtained

Returns

TypeDescription
void