mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 04:49:39 -10:00
* multi pxo api (cherry picked from commit 9af26da728a19b9d6c890968a314e8e56ecc1ddf) * multi pxo help api (cherry picked from commit f4df704576ddb648e9c486907b07ae172c859feb) * minor fixes * not extern * break out chat message data into a table * address some feedback * return empty strings if not in multi * use GetChannelByUser() instead * once more with feeling * correct documentation
21 lines
368 B
C++
21 lines
368 B
C++
#pragma once
|
|
|
|
#include "network/multi_pxo.h"
|
|
#include "scripting/ade_api.h"
|
|
|
|
namespace scripting {
|
|
namespace api {
|
|
|
|
struct channel_h {
|
|
int channel;
|
|
channel_h();
|
|
explicit channel_h(int l_channel);
|
|
pxo_channel* getChannel() const;
|
|
bool isCurrent() const;
|
|
bool isValid() const;
|
|
};
|
|
|
|
DECLARE_ADE_OBJ(l_Channel, channel_h);
|
|
|
|
} // namespace api
|
|
} // namespace scripting
|