Files
GDevelop/GDevelop.js/types/gdeventsfunction.js
T

39 lines
1.5 KiB
JavaScript

// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdEventsFunction {
static Action: 0;
static Condition: 1;
static Expression: 2;
static ExpressionAndCondition: 3;
static ActionWithOperator: 4;
constructor(): void;
clone(): gdEventsFunction;
setDescription(description: string): gdEventsFunction;
getDescription(): string;
setName(name: string): gdEventsFunction;
getName(): string;
setFullName(fullName: string): gdEventsFunction;
getFullName(): string;
setSentence(sentence: string): gdEventsFunction;
getSentence(): string;
setGroup(group: string): gdEventsFunction;
getGroup(): string;
setGetterName(group: string): gdEventsFunction;
getGetterName(): string;
setExpressionType(type: gdValueTypeMetadata): gdEventsFunction;
getExpressionType(): gdValueTypeMetadata;
setPrivate(isPrivate: boolean): gdEventsFunction;
isPrivate(): boolean;
isAction(): boolean;
isExpression(): boolean;
isCondition(): boolean;
setFunctionType(type: EventsFunction_FunctionType): gdEventsFunction;
getFunctionType(): EventsFunction_FunctionType;
getEvents(): gdEventsList;
getParameters(): gdVectorParameterMetadata;
getParametersForEvents(functionsContainer: gdEventsFunctionsContainer): gdVectorParameterMetadata;
getObjectGroups(): gdObjectGroupsContainer;
serializeTo(element: gdSerializerElement): void;
unserializeFrom(project: gdProject, element: gdSerializerElement): void;
delete(): void;
ptr: number;
};