v0.0.1-Alpha (#42)
This commit is contained in:
parent
d30f93c454
commit
a36796c2c1
3552 changed files with 2476 additions and 15223 deletions
20
Projects/Scripts/Engines/Chat/ChatActionHandler.cs
Normal file
20
Projects/Scripts/Engines/Chat/ChatActionHandler.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
namespace Server.Engines.Chat
|
||||
{
|
||||
public delegate void OnChatAction(ChatUser from, Channel channel, string param);
|
||||
|
||||
public class ChatActionHandler
|
||||
{
|
||||
public ChatActionHandler(bool requireModerator, bool requireConference, OnChatAction callback)
|
||||
{
|
||||
RequireModerator = requireModerator;
|
||||
RequireConference = requireConference;
|
||||
Callback = callback;
|
||||
}
|
||||
|
||||
public bool RequireModerator{ get; }
|
||||
|
||||
public bool RequireConference{ get; }
|
||||
|
||||
public OnChatAction Callback{ get; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue