1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00
Files
OpenRCT2/src/openrct2/scripting/bindings/network/ScPlayerGroup.hpp
James103 73738bbdc8 Replace 2022 with 2023 in copyright headers
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00

42 lines
1008 B
C++

/*****************************************************************************
* Copyright (c) 2014-2023 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#pragma once
#ifdef ENABLE_SCRIPTING
# include "../../Duktape.hpp"
# include <string>
# include <vector>
namespace OpenRCT2::Scripting
{
class ScPlayerGroup
{
int32_t _id;
public:
ScPlayerGroup(int32_t id);
int32_t id_get();
std::string name_get() const;
void name_set(std::string value);
std::vector<std::string> permissions_get() const;
void permissions_set(std::vector<std::string> value);
static void Register(duk_context* ctx);
};
} // namespace OpenRCT2::Scripting
#endif