Package com.threerings.stage.data

Examples of com.threerings.stage.data.StageOccupantInfo


    @Override
    protected void checkCanCluster (BodyObject initiator, BodyObject target)
        throws InvocationException
    {
        StageOccupantInfo info = (StageOccupantInfo)_ssobj.occupantInfo.get(
            Integer.valueOf(target.getOid()));
        if (info == null) {
            log.warning("Have no occinfo for cluster target " +
                        "[where=" + where() + ", init=" + initiator.who() +
                        ", target=" + target.who() + "].");
            throw new InvocationException(INTERNAL_ERROR);
        }

        if (!info.isClusterable()) {
            throw new InvocationException(StageCodes.ERR_CANNOT_CLUSTER);
        }
    }
View Full Code Here

TOP

Related Classes of com.threerings.stage.data.StageOccupantInfo

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.