#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
8eae46895e
7512 changed files with 416187 additions and 0 deletions
24
Scripts/Engines/Chat/ChatActionHandler.cs
Normal file
24
Scripts/Engines/Chat/ChatActionHandler.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Engines.Chat
|
||||
{
|
||||
public delegate void OnChatAction( ChatUser from, Channel channel, string param );
|
||||
|
||||
public class ChatActionHandler
|
||||
{
|
||||
private bool m_RequireModerator;
|
||||
private bool m_RequireConference;
|
||||
private OnChatAction m_Callback;
|
||||
|
||||
public bool RequireModerator{ get{ return m_RequireModerator; } }
|
||||
public bool RequireConference{ get{ return m_RequireConference; } }
|
||||
public OnChatAction Callback{ get{ return m_Callback; } }
|
||||
|
||||
public ChatActionHandler( bool requireModerator, bool requireConference, OnChatAction callback )
|
||||
{
|
||||
m_RequireModerator = requireModerator;
|
||||
m_RequireConference = requireConference;
|
||||
m_Callback = callback;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue