Added CloseConnection() Lua binding.
This commit is contained in:
@@ -13,6 +13,10 @@ _____________________________________________________________________________
|
||||
sm-ssc v1.2.1 | 20110???
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
20110112
|
||||
--------
|
||||
* [NetworkSyncManager] Added CloseConnection() Lua binding. [freem]
|
||||
|
||||
20110111
|
||||
--------
|
||||
* [ScreenManager] Added ReloadOverlayScreens() Lua binding. [freem]
|
||||
|
||||
@@ -839,12 +839,14 @@ LuaFunction( ConnectToServer, ConnectToServer( ( RString(SArg(1)).length()==0
|
||||
#endif
|
||||
|
||||
static bool ReportStyle() { NSMAN->ReportStyle(); return true; }
|
||||
static bool CloseNetworkConnection() { NSMAN->CloseConnection(); return true; }
|
||||
|
||||
LuaFunction( IsSMOnlineLoggedIn, NSMAN->isSMOLoggedIn[Enum::Check<PlayerNumber>(L, 1)] )
|
||||
LuaFunction( IsNetConnected, NSMAN->useSMserver )
|
||||
LuaFunction( IsNetSMOnline, NSMAN->isSMOnline )
|
||||
LuaFunction( ReportStyle, ReportStyle() )
|
||||
LuaFunction( GetServerName, NSMAN->GetServerName() )
|
||||
LuaFunction( CloseConnection, CloseNetworkConnection() )
|
||||
|
||||
/*
|
||||
* (c) 2003-2004 Charles Lohr, Joshua Allen
|
||||
|
||||
Reference in New Issue
Block a user