Examples of fulfill()


Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

                }
                catch (SQLException e) {
                    dB.echoError(attribute.getScriptEntry().getResidingQueue(), e);
                }
            }
            event.setReplaced(list.getAttribute(attribute.fulfill(1)));
            return;
        }

        // <--[tag]
        // @attribute <server.list_permission_groups>
View Full Code Here

Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

        // First, check queue object context.
        if (event.getScriptEntry().getResidingQueue().hasContext(object)) {
            Attribute attribute = new Attribute(event.raw_tag, event.getScriptEntry());
            event.setReplaced(event.getScriptEntry().getResidingQueue()
                    .getContext(object).getAttribute(attribute.fulfill(2)));
            return;
        }

        // Next, try to replace with task-script-defined context
        // NOTE: (DEPRECATED -- new RUN command uses definitions system instead)
View Full Code Here

Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

                if (!held.hasObject(attribute.getAttribute(2)) // Check if there's no such object
                        || held.getdObject(attribute.getAttribute(2)) == null) { // ... or if there is such an object
                    dB.echoDebug(event.getScriptEntry(), "Missing saved entry object '" + attribute.getAttribute(2) + "'"); // but it's not a dObject...

                } else { // Okay, now it's safe!
                    event.setReplaced(held.getdObject(attribute.getAttribute(2)).getAttribute(attribute.fulfill(2)));
                }
            }
        }

        //else event.setReplaced("null");
View Full Code Here

Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

        if (event.hasNameContext()) {
            if (!ScriptQueue._queueExists(event.getNameContext()))
                return;
            else
                event.setReplaced(ScriptQueue._getExistingQueue(event.getNameContext())
                        .getAttribute(attribute.fulfill(1)));
            return;
        }


        // Otherwise, try to use queue in a static manner.
View Full Code Here

Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

        // Returns whether the specified queue exists.
        // -->
        if (attribute.startsWith("exists")
                && attribute.hasContext(1)) {
            event.setReplaced(new Element(ScriptQueue._queueExists(attribute.getContext(1)))
                    .getAttribute(attribute.fulfill(1)));
            return;
        }

        // <--[tag]
        // @attribute <queue.stats>
View Full Code Here

Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

        // @description
        // Returns stats for all queues during this server session
        // -->
        if (attribute.startsWith("stats")) {
            event.setReplaced(new Element(ScriptQueue._getStats())
                    .getAttribute(attribute.fulfill(1)));
            return;
        }

        // <--[tag]
        // @attribute <queue.list>
View Full Code Here

Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

        // @description
        // Returns a list of all currently running queues on the server.
        // -->
        if (attribute.startsWith("list")) {
            event.setReplaced(new dList(ScriptQueue._getQueues())
                    .getAttribute(attribute.fulfill(1)));
            return;
        }


        // Else,
View Full Code Here

Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

            Attribute attribute = new Attribute(event.raw_tag, event.getScriptEntry());

            // Now to catch up, 2 attributes have been handled already...
            // Fulfilling 2 attributes, skills and .for, in <skills.for[player].get[1]>
            // will leave the .get[1] to be handled by the dList.
            attribute.fulfill(2);

            List<String> skills = new ArrayList<String>();

         // skills = Skills.getForPlayer(aH.getPlayerFrom(type_context)).list()
View Full Code Here

Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

        // @returns Element
        // @description
        // Returns an umlaut-a symbol: ä
        // -->
        if (event.getName().equals("&auml"))
            event.setReplaced(new Element("ä").getAttribute(attribute.fulfill(1)));

            // <--[tag]
            // @attribute <&Auml>
            // @returns Element
            // @description
View Full Code Here

Examples of net.aufdemrand.denizen.tags.Attribute.fulfill()

            // @returns Element
            // @description
            // Returns a capital umlaut-A symbol: Ä
            // -->
        else if (event.getName().equals("&Auml"))
            event.setReplaced(new Element("Ä").getAttribute(attribute.fulfill(1)));

            // <--[tag]
            // @attribute <&ouml>
            // @returns Element
            // @description
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.