public void Cmd_CreateuUser(string userid, string password) { try { UserCountryUtility.createUser(worldMgr.current_uuid, userid, password); this.Target_DispInformationPanel_Timer(connectionToClient, "User creation is successful.\nPlease login using user id and password."); } catch (Exception ex) { this.Target_DispInformationPanel_Timer(connectionToClient, ex.Message); } }
public void Cmd_Login(string userid, string password) { try { user = UserCountryUtility.autehnticateUser(worldMgr.current_uuid, userid, password); loginSuccess(); } catch (Exception ex) { this.Target_DispInformationPanel_Timer(connectionToClient, ex.Message); } }
public UserCountryUtility.User getUserInfo() { user = UserCountryUtility.getUserFromUUID(worldMgr.current_uuid, user.UUID); return(user); }