Skip to content

Commit 50162d3

Browse files
committed
Added missing engine specific export function
1 parent 6b2c04e commit 50162d3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/core/modules/engines/sdk2013/engines_wrap.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,20 @@ T IEngineSound_Visitor(T cls)
101101
return cls;
102102
}
103103

104+
105+
//-----------------------------------------------------------------------------
106+
// Exports IServerGameDLL.
107+
//-----------------------------------------------------------------------------
108+
template<class T, class U>
109+
void export_engine_specific_server_game_dll(T _server, U ServerGameDLL)
110+
{
111+
// Methods...
112+
ServerGameDLL.def("set_server_hibernation", &IServerGameDLL::SetServerHibernation);
113+
114+
// Class info...
115+
BEGIN_CLASS_INFO(IServerGameDLL)
116+
FUNCTION_INFO(SetServerHibernation)
117+
END_CLASS_INFO()
118+
}
119+
104120
#endif // _ENGINES_WRAP_SDK2013_H

0 commit comments

Comments
 (0)