Examples of describeCUI()


Examples of com.sk89q.worldedit.LocalSession.describeCUI()

    @Override
    public void onPluginMessageReceived(String channel, Player player, byte[] message) {
        LocalSession session = plugin.getSession(player);
        String text = new String(message, UTF_8_CHARSET);
        session.handleCUIInitializationMessage(text);
        session.describeCUI(plugin.wrapPlayer(player));
    }

}
View Full Code Here

Examples of com.sk89q.worldedit.internal.cui.CUIRegion.describeCUI()

            if (tempSel.getProtocolVersion() > cuiVersion) {
                actor.dispatchCUIEvent(new SelectionShapeEvent(tempSel.getLegacyTypeID()));
                tempSel.describeLegacyCUI(this, actor);
            } else {
                actor.dispatchCUIEvent(new SelectionShapeEvent(tempSel.getTypeID()));
                tempSel.describeCUI(this, actor);
            }

        }
    }
View Full Code Here

Examples of com.sk89q.worldedit.internal.cui.CUIRegion.describeCUI()

            CUIRegion tempSel = (CUIRegion) selector;

            if (tempSel.getProtocolVersion() > cuiVersion) {
                tempSel.describeLegacyCUI(this, actor);
            } else {
                tempSel.describeCUI(this, actor);
            }

        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.