We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3435c01 commit cb7a8dcCopy full SHA for cb7a8dc
src/core/modules/filters/filters_recipients.h
@@ -108,7 +108,7 @@ class MRecipientFilter : public IRecipientFilter
108
void RemoveAllPlayers();
109
bool HasRecipient(int iPlayer);
110
111
-private:
+public:
112
bool m_bReliable;
113
bool m_bInitMessage;
114
#ifdef ENGINE_ORANGEBOX
src/core/modules/filters/filters_recipients_wrap.cpp
@@ -115,7 +115,12 @@ void export_mrecipientfilter(scope _recipients)
115
"Return True if the given index is in the recipient filter.",
116
args("index")
117
)
118
-
+
119
+ .def_readwrite("reliable",
120
+ &MRecipientFilter::m_bReliable,
121
+ "Get/set whether or not the filter is reliable.\n\n"
122
+ ":rtype: bool"
123
+ )
124
125
ADD_MEM_TOOLS(MRecipientFilter)
126
;
0 commit comments