Examples of SpawnType


Examples of gwlpr.mapshard.models.enums.SpawnType

        int agentID = entity.get(AgentIdentifiers.class).agentID;
       
        sendGuiData(channel);
       
        // send this agent's spawn type
        SpawnType spawnType = entity.get(SpawnData.class).spawnType;
       
        P230_InstanceLoadAgentInfo beginAgentInfo = new P230_InstanceLoadAgentInfo();
        beginAgentInfo.init(channel);
        beginAgentInfo.setSpawnType(spawnType.getIntString());
        channel.writeAndFlush(beginAgentInfo);

       
        // set some initial values
        EntityUpdateAttributesView.sendInitial(channel, entity);
View Full Code Here

Examples of net.xeoh.plugins.base.impl.SpawnResult.SpawnType

            // Instanciate the plugin
            final Pluggable spawnedPlugin = (Pluggable) c.newInstance();

            // Detect type
            SpawnType type = null;

            if (Pluglet.class.isAssignableFrom(c)) {
                type = SpawnType.PLUGLET;
            }
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.