Package mage.view

Examples of mage.view.UserDataView


            callbackClient.invoke(null);

            this.sessionId = callbackClient.getSessionId();
            boolean registerResult;
            if (connection.getPassword() == null) {
                UserDataView userDataView = new UserDataView(connection.getAvatarId(),
                        connection.isShowAbilityPickerForced(),
                        connection.getUserSkipPrioritySteps());
                // for backward compatibility. don't remove twice call - first one does nothing but for version checking
                registerResult = server.registerClient(connection.getUsername(), sessionId, client.getVersion());
                if (registerResult) {
View Full Code Here


    @Override
    public boolean updatePreferencesForServer(int avatarId, boolean showAbilityPickerForced, UserSkipPrioritySteps userSkipPrioritySteps) {
        try {
            if (isConnected()) {
                UserDataView userDataView = new UserDataView(avatarId, showAbilityPickerForced, userSkipPrioritySteps);
                server.setUserData(connection.getUsername(), sessionId, userDataView);
            }
            return true;
        } catch (MageException ex) {
            handleMageException(ex);
View Full Code Here

TOP

Related Classes of mage.view.UserDataView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.