1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-20 19:57:12 +01:00

More unnecessary properties removed from the IRC session type.

This commit is contained in:
Sandu Liviu Catalin 2016-05-24 22:00:44 +03:00
parent 86a4933525
commit 0d7243c305
2 changed files with 1 additions and 191 deletions

View File

@ -226,29 +226,9 @@ void RegisterAPI(HSQUIRRELVM vm)
.Prop(_SC("CtcpVersion"), (void (Session::*)(void))(nullptr), &Session::SetCtcpVersion)
.Prop(_SC("ErrNo"), &Session::GetErrNo)
.Prop(_SC("ErrStr"), &Session::GetErrStr)
.Prop(_SC("OnConnect"), &Session::GetOnConnect)
.Prop(_SC("OnNick"), &Session::GetOnNick)
.Prop(_SC("OnQuit"), &Session::GetOnQuit)
.Prop(_SC("OnJoin"), &Session::GetOnJoin)
.Prop(_SC("OnPart"), &Session::GetOnPart)
.Prop(_SC("OnMode"), &Session::GetOnMode)
.Prop(_SC("OnUmode"), &Session::GetOnUmode)
.Prop(_SC("OnTopic"), &Session::GetOnTopic)
.Prop(_SC("OnKick"), &Session::GetOnKick)
.Prop(_SC("OnChannel"), &Session::GetOnChannel)
.Prop(_SC("OnPrivMsg"), &Session::GetOnPrivMsg)
.Prop(_SC("OnNotice"), &Session::GetOnNotice)
.Prop(_SC("OnChannelNotice"), &Session::GetOnChannelNotice)
.Prop(_SC("OnInvite"), &Session::GetOnInvite)
.Prop(_SC("OnCtcpReq"), &Session::GetOnCtcpReq)
.Prop(_SC("OnCtcpRep"), &Session::GetOnCtcpRep)
.Prop(_SC("OnCtcpAction"), &Session::GetOnCtcpAction)
.Prop(_SC("OnUnknown"), &Session::GetOnUnknown)
.Prop(_SC("OnNumeric"), &Session::GetOnNumeric)
.Prop(_SC("OnDccChatReq"), &Session::GetOnDccChatReq)
.Prop(_SC("OnDccSendReq"), &Session::GetOnDccSendReq)
// Member Methods
.Func(_SC("Bind"), &Session::BindEvent)
.Func(_SC("GetEvent"), &Session::GetEvent)
.Func(_SC("Disconnect"), &Session::Disconnect)
.Func(_SC("CmdPart"), &Session::CmdPart)
.Func(_SC("CmdInvite"), &Session::CmdInvite)

View File

@ -1053,176 +1053,6 @@ protected:
* ...
*/
static void OnDccSendReq(irc_session_t * session, CCStr nick, CCStr addr, CCStr filename, Ulong size, irc_dcc_t dccid);
public:
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnConnect()
{
return m_OnConnect;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnNick()
{
return m_OnNick;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnQuit()
{
return m_OnQuit;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnJoin()
{
return m_OnJoin;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnPart()
{
return m_OnPart;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnMode()
{
return m_OnMode;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnUmode()
{
return m_OnUmode;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnTopic()
{
return m_OnTopic;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnKick()
{
return m_OnKick;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnChannel()
{
return m_OnChannel;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnPrivMsg()
{
return m_OnPrivMsg;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnNotice()
{
return m_OnNotice;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnChannelNotice()
{
return m_OnChannelNotice;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnInvite()
{
return m_OnInvite;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnCtcpReq()
{
return m_OnCtcpReq;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnCtcpRep()
{
return m_OnCtcpRep;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnCtcpAction()
{
return m_OnCtcpAction;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnUnknown()
{
return m_OnUnknown;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnNumeric()
{
return m_OnNumeric;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnDccChatReq()
{
return m_OnDccChatReq;
}
/* --------------------------------------------------------------------------------------------
* ...
*/
Function & GetOnDccSendReq()
{
return m_OnDccSendReq;
}
};
} // Namespace:: SqMod