mirror of
https://github.com/EQEmu/eqemu-docs-v2.git
synced 2026-08-08 17:45:09 -04:00
1.5 KiB
1.5 KiB
spawn_events
Relationships
erDiagram
spawn_events {
mediumintunsigned cond_id
varchar zone
}
spawn_conditions {
mediumintunsigned id
varchar zone
}
zone {
int zoneidnumber
varchar short_name
tinyintunsigned version
varchar content_flags
varchar content_flags_disabled
}
spawn_events ||--o{ spawn_conditions : "One-to-One"
spawn_events ||--o{ zone : "One-to-One"
| Relationship Type | Local Key | Relates to Table | Foreign Key |
|---|---|---|---|
| One-to-One | cond_id | spawn_conditions | id |
| One-to-One | zone | zone | short_name |
Schema
| Column | Data Type | Description |
|---|---|---|
| id | int | Unique Spawn Event Entry Identifier |
| zone | varchar | Zone Short Name |
| cond_id | mediumint | Spawn Condition Identifier |
| name | varchar | Name |
| period | int | Period |
| next_minute | tinyint | Next Minute |
| next_hour | tinyint | Next Hour |
| next_day | tinyint | Next Day |
| next_month | tinyint | Next Month |
| next_year | int | Next Year |
| enabled | tinyint | Enabled: 0 = False, 1 = True |
| action | tinyint | Action Type |
| argument | mediumint | Argument: (Based on Action) 0 = Argument Value |
| strict | tinyint | Strict Date Criteria: 0 = False, 1 = True |