Files
fs2open.github.com/code/scripting/api/objs/multi_objects.h
T
Mike Nelson 2e34c29215 Scpui multi pxo api (#5845)
* 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
2024-03-13 15:23:44 -04:00

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