|
Revision 2950, 1.3 kB
(checked in by Dfighter, 11 months ago)
|
|
Merging the Untested branch back to Trunk.
Trunk is now 3.2.2 compatible.
|
-
Property svn:eol-style set to
native
-
Property ff set to
*.cpp = svn:eol-style=native
Makefile = svn:eol-style=native
README = svn:eol-style=native
CHANGELOG = svn:eol-style=native
LICENSE = svn:eol-style=native
-
Property svn:keywords set to
Date Author Rev
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * ArcEmu MMORPG Server |
|---|
| 3 | * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> |
|---|
| 4 | * Copyright (C) 2008-2009 <http://www.ArcEmu.org/> |
|---|
| 5 | * |
|---|
| 6 | * This program is free software: you can redistribute it and/or modify |
|---|
| 7 | * it under the terms of the GNU Affero General Public License as published by |
|---|
| 8 | * the Free Software Foundation, either version 3 of the License, or |
|---|
| 9 | * any later version. |
|---|
| 10 | * |
|---|
| 11 | * This program is distributed in the hope that it will be useful, |
|---|
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | * GNU Affero General Public License for more details. |
|---|
| 15 | * |
|---|
| 16 | * You should have received a copy of the GNU Affero General Public License |
|---|
| 17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 18 | * |
|---|
| 19 | */ |
|---|
| 20 | |
|---|
| 21 | #ifndef __AREATRIGGERHANDLER_H |
|---|
| 22 | #define __AREATRIGGERHANDLER_H |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | enum AreaTriggerType |
|---|
| 26 | { |
|---|
| 27 | ATTYPE_NULL = 0, |
|---|
| 28 | ATTYPE_INSTANCE = 1, |
|---|
| 29 | ATTYPE_QUESTTRIGGER = 2, |
|---|
| 30 | ATTYPE_INN = 3, |
|---|
| 31 | ATTYPE_TELEPORT = 4, |
|---|
| 32 | ATTYPE_SPELL = 5, |
|---|
| 33 | ATTYPE_BATTLEGROUND = 6, |
|---|
| 34 | }; |
|---|
| 35 | |
|---|
| 36 | #pragma pack(push,1) |
|---|
| 37 | typedef struct AreaTrigger |
|---|
| 38 | { |
|---|
| 39 | uint32 AreaTriggerID; |
|---|
| 40 | uint8 Type; |
|---|
| 41 | uint32 Mapid; |
|---|
| 42 | uint32 PendingScreen; |
|---|
| 43 | char * Name; |
|---|
| 44 | float x; |
|---|
| 45 | float y; |
|---|
| 46 | float z; |
|---|
| 47 | float o; |
|---|
| 48 | uint32 required_honor_rank; |
|---|
| 49 | uint32 required_level; |
|---|
| 50 | }AreaTrigger; |
|---|
| 51 | #pragma pack(pop) |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | #endif |
|---|