diff options
| author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2021-05-01 01:48:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-01 01:48:43 +0200 |
| commit | 29b1eb3ed30e0dd50ba1cfe222a33b070e3e6e0b (patch) | |
| tree | 777be1e4c5796cd2531e7959632a48f5cb5b4f22 /docs/smart_scripts.md | |
| parent | 2df273f79165b95b8b0b2ab471ecb8b2a54edb21 (diff) | |
| download | wiki-29b1eb3ed30e0dd50ba1cfe222a33b070e3e6e0b.tar.gz wiki-29b1eb3ed30e0dd50ba1cfe222a33b070e3e6e0b.tar.bz2 wiki-29b1eb3ed30e0dd50ba1cfe222a33b070e3e6e0b.zip | |
chore(docs): Update all integers to not use width (#448)
* float
* VARCHAR
* TIMESTAMP
* BIGINT
* MEDIUMINT
* SMALLINT
* TINYINT
* INT
* BLOB
* SIGNED/UNSIGNED
* AUTO_INCREMENT
* \(\d+\)
* Update Bit-and_bytes-tutorial.md
* clean-up
* Last mistakes
* this one didnt commit lul
Diffstat (limited to 'docs/smart_scripts.md')
| -rw-r--r-- | docs/smart_scripts.md | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index 00cebd5..bf5db8c 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -8,35 +8,35 @@ The `smart_scripts` table has 30 attributes. It serves to make scripts in SQL la | Field | Type | Attributes | Key | Null | Default | Extra | Comment | |-----------------------|-------------|------------|-----|------|---------|-------|---------------| -| [entryorguid][1] | int(11) | signed | PRI | NO | | | | -| [source_type][2] | tinyint(3) | unsigned | PRI | NO | 0 | | | -| [id][3] | smallint(5) | unsigned | PRI | NO | 0 | | | -| [link][4] | smallint(5) | unsigned | PRI | NO | 0 | | | -| [event_type][5] | tinyint(3) | unsigned | | NO | 0 | | | -| [event_phase_mask][6] | smallint(5) | unsigned | | NO | 0 | | | -| [event_chance][7] | tinyint(3) | unsigned | | NO | 100 | | | -| [event_flags][8] | smallint(5) | unsigned | | NO | 0 | | | -| [event_param1][5] | int(10) | unsigned | | NO | 0 | | | -| [event_param2][5] | int(10) | unsigned | | NO | 0 | | | -| [event_param3][5] | int(10) | unsigned | | NO | 0 | | | -| [event_param4][5] | int(10) | unsigned | | NO | 0 | | | -| [event_param5][5] | int(10) | unsigned | | NO | 0 | | | -| [action_type][9] | tinyint(3) | unsigned | | NO | 0 | | | -| [action_param1][9] | int(10) | unsigned | | NO | 0 | | | -| [action_param2][9] | int(10) | unsigned | | NO | 0 | | | -| [action_param3][9] | int(10) | unsigned | | NO | 0 | | | -| [action_param4][9] | int(10) | unsigned | | NO | 0 | | | -| [action_param5][9] | int(10) | unsigned | | NO | 0 | | | -| [action_param6][9] | int(10) | unsigned | | NO | 0 | | | -| [target_type][10] | tinyint(3) | unsigned | | NO | 0 | | | -| [target_param1][10] | int(10) | unsigned | | NO | 0 | | | -| [target_param2][10] | int(10) | unsigned | | NO | 0 | | | -| [target_param3][10] | int(10) | unsigned | | NO | 0 | | | -| [target_param4][10] | int(10) | unsigned | | NO | 0 | | | -| [target_x][10] | float | signed | | NO | 0 | | | -| [target_y][10] | float | signed | | NO | 0 | | | -| [target_z][10] | float | signed | | NO | 0 | | | -| [target_o][10] | float | signed | | NO | 0 | | | +| [entryorguid][1] | INT | SIGNED | PRI | NO | | | | +| [source_type][2] | TINYINT | UNSIGNED | PRI | NO | 0 | | | +| [id][3] | SMALLINT | UNSIGNED | PRI | NO | 0 | | | +| [link][4] | SMALLINT | UNSIGNED | PRI | NO | 0 | | | +| [event_type][5] | TINYINT | UNSIGNED | | NO | 0 | | | +| [event_phase_mask][6] | SMALLINT | UNSIGNED | | NO | 0 | | | +| [event_chance][7] | TINYINT | UNSIGNED | | NO | 100 | | | +| [event_flags][8] | SMALLINT | UNSIGNED | | NO | 0 | | | +| [event_param1][5] | INT | UNSIGNED | | NO | 0 | | | +| [event_param2][5] | INT | UNSIGNED | | NO | 0 | | | +| [event_param3][5] | INT | UNSIGNED | | NO | 0 | | | +| [event_param4][5] | INT | UNSIGNED | | NO | 0 | | | +| [event_param5][5] | INT | UNSIGNED | | NO | 0 | | | +| [action_type][9] | TINYINT | UNSIGNED | | NO | 0 | | | +| [action_param1][9] | INT | UNSIGNED | | NO | 0 | | | +| [action_param2][9] | INT | UNSIGNED | | NO | 0 | | | +| [action_param3][9] | INT | UNSIGNED | | NO | 0 | | | +| [action_param4][9] | INT | UNSIGNED | | NO | 0 | | | +| [action_param5][9] | INT | UNSIGNED | | NO | 0 | | | +| [action_param6][9] | INT | UNSIGNED | | NO | 0 | | | +| [target_type][10] | TINYINT | UNSIGNED | | NO | 0 | | | +| [target_param1][10] | INT | UNSIGNED | | NO | 0 | | | +| [target_param2][10] | INT | UNSIGNED | | NO | 0 | | | +| [target_param3][10] | INT | UNSIGNED | | NO | 0 | | | +| [target_param4][10] | INT | UNSIGNED | | NO | 0 | | | +| [target_x][10] | FLOAT | SIGNED | | NO | 0 | | | +| [target_y][10] | FLOAT | SIGNED | | NO | 0 | | | +| [target_z][10] | FLOAT | SIGNED | | NO | 0 | | | +| [target_o][10] | FLOAT | SIGNED | | NO | 0 | | | | [comment][11] | text | | | NO | | | Event Comment | [1]: #entryorguid |
