Message template.
More...
#include <framework/signal.h>
|
| enum | Type : signal_t {
NONE
, SPAWN
, KILL
, ACTIVATE
,
USE
, LOCKED_USE
, OPEN
, CLOSE
,
END_OPEN
, END_CLOSE
, TRIGGER
, ENTER_TRIGGER
,
EXIT_TRIGGER
, PROGRESS
, LAST_SIGNAL
} |
| |
Message template.
Table of Message templates that can be sent off by entities on certain triggers.
- See also
- https://racenis.github.io/tram-sdk/documentation/framework/signal.html
◆ Type
| Enumerator |
|---|
| NONE | |
| SPAWN | |
| KILL | |
| ACTIVATE | |
| USE | |
| LOCKED_USE | |
| OPEN | |
| CLOSE | |
| END_OPEN | |
| END_CLOSE | |
| TRIGGER | |
| ENTER_TRIGGER | |
| EXIT_TRIGGER | |
| PROGRESS | |
| LAST_SIGNAL | |
◆ GetName()
Gets a nessage type name.
◆ GetType()
Finds a message type from a name.
◆ Register()
| signal_t tram::Signal::Register |
( |
const char * |
name | ) |
|
|
static |
Registers a new message type.
- Returns
- Unique message type number.
◆ data
◆ delay
| float tram::Signal::delay |
◆ limit
◆ message_type
◆ receiver
◆ type
The documentation for this struct was generated from the following files:
- C:/Users/Poga/Desktop/painis/tram-sdk/src/framework/signal.h
- C:/Users/Poga/Desktop/painis/tram-sdk/src/framework/signal.cpp