From ddd49c13d9b89e11c900657154e0504c8c8af2a9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 18 Jul 2017 00:05:26 +0300 Subject: Add permissions and commands fields into groups. For now not reading it from xml or using it in any way. --- src/enums/resources/servercommandenable.h | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/enums/resources/servercommandenable.h (limited to 'src/enums/resources/servercommandenable.h') diff --git a/src/enums/resources/servercommandenable.h b/src/enums/resources/servercommandenable.h new file mode 100644 index 000000000..575ebf944 --- /dev/null +++ b/src/enums/resources/servercommandenable.h @@ -0,0 +1,37 @@ +/* + * The ManaPlus Client + * Copyright (C) 2012-2017 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef ENUMS_RESOURCES_SERVERCOMMANDENABLE_H +#define ENUMS_RESOURCES_SERVERCOMMANDENABLE_H + +#include "enums/simpletypes/enumdefines.h" + +namespace ServerCommandEnable +{ + enum Type + { + No = 0, + Self = 1, + Other = 2, + Both = 3 + }; +} // namespace ServerCommandEnable + +#endif // ENUMS_RESOURCES_SERVERCOMMANDENABLE_H -- cgit v1.2.3-70-g09d2