immersive-home/docs/reference/EventNotify.md

50 lines
1.1 KiB
Markdown
Raw Normal View History

2024-03-16 19:45:43 +02:00
# EventNotify
**Inherits:** [Event](/reference/Event.html)
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
## Description
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
Emits a message to the user
2024-03-16 19:45:43 +02:00
## Properties
2024-03-17 01:14:31 +02:00
| Name | Type | Default |
| ------------------------ | ----------------------------------------------------------------------- | ------- |
| [message](#prop-message) | [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) | |
| [type](#prop-type) | [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) | |
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
## Enums
2024-03-17 01:14:31 +02:00
### enum Type
2024-03-17 01:14:31 +02:00
#### Type.INFO = `0` {#const-INFO}
2024-03-17 01:14:31 +02:00
The message is informational
2024-03-17 01:14:31 +02:00
#### Type.SUCCESS = `1` {#const-SUCCESS}
2024-03-17 01:14:31 +02:00
The message is a success message
2024-03-17 01:14:31 +02:00
#### Type.WARNING = `2` {#const-WARNING}
2024-03-17 01:14:31 +02:00
The message is a warning
2024-03-17 01:14:31 +02:00
#### Type.DANGER = `3` {#const-DANGER}
2024-03-17 01:14:31 +02:00
The message is an error
2024-03-16 19:45:43 +02:00
## Property Descriptions
2024-03-17 01:14:31 +02:00
### message: [String](https://docs.godotengine.org/de/4.x/classes/class_string.html) {#prop-message}
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
The message to emit
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
### type: [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) {#prop-type}
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
The type of message to emit