public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager) { if (OnCreateLogin != null) { object[] msgParams = message.GetParams(); OnCreateLogin((bool)msgParams[0]); } }
public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager) { if (OnEmailUsername != null) { object[] msgParams = message.GetParams(); OnEmailUsername((bool)msgParams[0]); } }
public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager) { if (OnLeaveGathering != null) { object[] msgParams = message.GetParams(); OnLeaveGathering((bool)msgParams[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]); } }
public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager) { if (OnChangePassword != null) { object[] msgParams = message.GetParams(); OnChangePassword((bool)msgParams[0]); } }
public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager) { if (OnTextUserMessage != null) { object[] msgParams = message.GetParams(); OnTextUserMessage((string)msgParams[0], (Credentials)msgParams[1]); } }
public static ClientManager GetManager() { if (sManager == null) { sManager = new ClientManager(); } return sManager; }
public void HandleCommand(int connectionID, CommandMessage message, ClientManager manager) { if (OnSQLExecute != null) { object[] msgParams = message.GetParams(); OnSQLExecute((int)msgParams[0]); } }
public static void ResetManager() { sManager = null; }