Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
s_modchannels.h
Go to the documentation of this file.
1// Luanti
2// SPDX-License-Identifier: LGPL-2.1-or-later
3// Copyright (C) 2017 nerzhul, Loic Blot <loic.blot@unix-experience.fr>
4
5#pragma once
6
7#include "cpp_api/s_base.h"
8
9enum ModChannelSignal : u8;
10
11class ScriptApiModChannels : virtual public ScriptApiBase
12{
13public:
14 void on_modchannel_message(const std::string &channel, const std::string &sender,
15 const std::string &message);
16 void on_modchannel_signal(const std::string &channel, ModChannelSignal signal);
17};
Definition s_base.h:64
Definition s_modchannels.h:12
void on_modchannel_signal(const std::string &channel, ModChannelSignal signal)
Definition s_modchannels.cpp:24
void on_modchannel_message(const std::string &channel, const std::string &sender, const std::string &message)
Definition s_modchannels.cpp:9
ModChannelSignal
Definition modchannels.h:42