Exemplo n.º 1
0
 public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager)
 {
     if (OnCreateLogin != null)
     {
         object[] msgParams = message.GetParams();
         OnCreateLogin((bool)msgParams[0]);
     }
 }
Exemplo n.º 2
0
 public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager)
 {
     if (OnEmailUsername != null)
     {
         object[] msgParams = message.GetParams();
         OnEmailUsername((bool)msgParams[0]);
     }
 }
Exemplo n.º 3
0
 public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager)
 {
     if (OnLeaveGathering != null)
     {
         object[] msgParams = message.GetParams();
         OnLeaveGathering((bool)msgParams[0]);
     }
 }
Exemplo n.º 4
0
 public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager)
 {
     if (OnSqlData != null)
     {
         object[] msgParams = message.GetParams();
         OnSqlData((List<string>)msgParams[0], (List<List<object>>)msgParams[1]);
     }
 }
Exemplo n.º 5
0
 public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager)
 {
     if (OnChangePassword != null)
     {
         object[] msgParams = message.GetParams();
         OnChangePassword((bool)msgParams[0]);
     }
 }
Exemplo n.º 6
0
 public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager)
 {
     if (OnTextUserMessage != null)
     {
         object[] msgParams = message.GetParams();
         OnTextUserMessage((string)msgParams[0], (Credentials)msgParams[1]);
     }
 }
Exemplo n.º 7
0
 public static ClientManager GetManager()
 {
     if (sManager == null)
     {
         sManager = new ClientManager();
     }
     return sManager;
 }
Exemplo n.º 8
0
 public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager)
 {
     if (OnSQLExecute != null)
     {
         object[] msgParams = message.GetParams();
         OnSQLExecute((int)msgParams[0]);
     }
 }
Exemplo n.º 9
0
 public static void ResetManager()
 {
     sManager = null;
 }