Exemple #1
0
 public static void Register(int actionId, bool requireConference, OnChatAction callback)
 {
     if (actionId >= 0 && actionId < m_Handlers.Length)
     {
         m_Handlers[actionId] = new ChatActionHandler(requireConference, callback);
     }
 }
Exemple #2
0
 public static void Register(int actionID, bool requireModerator, bool requireConference, OnChatAction callback)
 {
     if (actionID >= 0 && actionID < m_Handlers.Length)
     {
         m_Handlers[actionID] = new ChatActionHandler(requireModerator, requireConference, callback);
     }
 }
Exemple #3
0
 public ChatActionHandler(bool requireConference, OnChatAction callback)
 {
     m_RequireConference = requireConference;
     m_Callback          = callback;
 }
 public ChatActionHandler(bool requireModerator, bool requireConference, OnChatAction callback)
 {
     this.m_RequireModerator = requireModerator;
     this.m_RequireConference = requireConference;
     this.m_Callback = callback;
 }
		public ChatActionHandler( bool requireConference, OnChatAction callback )
		{
			m_RequireConference = requireConference;
			m_Callback = callback;
		}
		public static void Register( int actionID, bool requireModerator, bool requireConference, OnChatAction callback )
		{
			if ( actionID >= 0 && actionID < m_Handlers.Length )
				m_Handlers[actionID] = new ChatActionHandler( requireModerator, requireConference, callback );
		}
Exemple #7
0
 public ChatActionHandler(bool requireModerator, bool requireConference, OnChatAction callback)
 {
     RequireModerator  = requireModerator;
     RequireConference = requireConference;
     Callback          = callback;
 }