Luanti
5.11.0-dev
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
9
enum
ModChannelSignal
: u8;
10
11
class
ScriptApiModChannels
:
virtual
public
ScriptApiBase
12
{
13
public
:
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
};
11
class
ScriptApiModChannels
:
virtual
public
ScriptApiBase
{
…
};
ScriptApiBase
Definition
s_base.h:64
ScriptApiModChannels
Definition
s_modchannels.h:12
ScriptApiModChannels::on_modchannel_signal
void on_modchannel_signal(const std::string &channel, ModChannelSignal signal)
Definition
s_modchannels.cpp:24
ScriptApiModChannels::on_modchannel_message
void on_modchannel_message(const std::string &channel, const std::string &sender, const std::string &message)
Definition
s_modchannels.cpp:9
ModChannelSignal
ModChannelSignal
Definition
modchannels.h:42
s_base.h
script
cpp_api
s_modchannels.h
Generated on Sat Feb 1 2025 10:20:55 for Luanti by
1.11.0