private static void aliasUI(XmlAlias alias) { alias.AddClass("poison-circle-action", new PoisonCircleAction()); alias.AddField("poison-circle-action", "fromPos", "from-pos"); alias.AddField("poison-circle-action", "toPos", "to-pos"); alias.AddAttribue("poison-circle-action", "fromRadius", "from-radius"); alias.AddAttribue("poison-circle-action", "toRadius", "to-radius"); alias.AddAttribue("poison-circle-action", "fromWaitTime", "from-wait-time"); alias.AddAttribue("poison-circle-action", "toWaitTime", "to-wait-time"); alias.AddAttribue("poison-circle-action", "fromMoveTime", "from-move-time"); alias.AddAttribue("poison-circle-action", "toMoveTime", "to-move-time"); }
// 会把父类的字段也会加入,需要注意当以前的代码中父类的字段没有按照这样的命名规范时会有问题 private static void aliasOne(XmlAlias alias, IRule obj) { string classAlias = ToXmlName(obj.GetType().Name); alias.AddClass(classAlias, obj); string[] fields = ReflectionCache.GetFieldNames(obj); foreach (string field in fields) { FieldInfo fi = ReflectionCache.GetField(obj, field); string type = fi.FieldType.Name.ToLower(); if (ReflectionCache.IsSimpleField(type)) { alias.AddAttribue(classAlias, fi.Name, ToXmlName(fi.Name)); } else { alias.AddField(classAlias, fi.Name, ToXmlName(fi.Name)); } } }
private static void aliasItem(XmlAlias alias) { alias.AddClass("define-item-action", new DefineItemAction()); alias.AddClass("free-game-item", new FreeGameItem()); alias.AddClass("create-item-player-action", new CreateItemToPlayerAction()); alias.AddClass("create-item-scene-action", new CreateItemToSceneAction()); alias.AddClass("player-drop-item-action", new PlayerDropItemAction()); alias.AddClass("player-use-item-action", new PlayerUseItemAction()); alias.AddClass("player-remove-item-action", new PlayerRemoveItemAction()); alias.AddClass("set-item-count-action", new SetItemCountAction()); alias.AddClass("select-item-action", new SelectItemAction()); alias.AddClass("move-item-action", new ItemMoveAction()); alias.AddClass("drop-item-action", new DropItemToSceneAction()); alias.AddClass("create-inventory-action", new CreateInventoryAction()); alias.AddClass("pos-hotkey", new PositionHotKey()); alias.AddClass("condition-key", new ConditionHotKey()); alias.AddClass("inventory-ui", new SimpleInventoryUI()); alias.AddClass("back-ui", new SimpleBackUI()); alias.AddClass("item-ui", new SimpleItemUI()); alias.AddClass("open-inventory-action", new OpenInventoryAction()); alias.AddClass("resort-inventory-action", new ResortInventoryAction()); alias.AddField("free-game-item", "enterAction", "enter-action"); alias.AddField("free-game-item", "leaveAction", "leave-action"); alias.AddField("create-item-player-action", "failAction", "fail-action"); alias.AddField("create-inventory-action", "inventoryUI", "inventory-ui"); alias.AddField("create-inventory-action", "openAction", "open-action"); alias.AddField("create-inventory-action", "closeAction", "close-action"); alias.AddField("create-inventory-action", "dropAction", "drop-action"); alias.AddField("create-inventory-action", "hotkey", "hotkey"); alias.AddField("inventory-ui", "backUI", "back-ui"); alias.AddField("inventory-ui", "itemUI", "item-ui"); alias.AddField("inventory-ui", "errorAction", "error-action"); alias.AddField("inventory-ui", "moveOutAction", "move-out-action"); alias.AddField("inventory-ui", "canNotMoveAction", "can-not-move-action"); alias.AddField("inventory-ui", "moveAction", "move-action"); alias.AddAttribue("free-game-item", "cat", "cat"); alias.AddAttribue("free-game-item", "time", "time"); alias.AddAttribue("create-item-player-action", "name", "name"); alias.AddAttribue("create-item-player-action", "key", "key"); alias.AddAttribue("create-item-player-action", "count", "count"); alias.AddAttribue("create-item-scene-action", "key", "key"); alias.AddAttribue("create-item-scene-action", "time", "time"); alias.AddAttribue("create-item-scene-action", "count", "count"); alias.AddAttribue("player-drop-item-action", "cat", "cat"); alias.AddAttribue("player-use-item-action", "item", "item"); alias.AddAttribue("player-remove-item-action", "exp", "exp"); alias.AddAttribue("player-remove-item-action", "item", "item"); alias.AddAttribue("player-remove-item-action", "count", "count"); alias.AddAttribue("set-item-count-action", "exp", "exp"); alias.AddAttribue("set-item-count-action", "count", "count"); alias.AddAttribue("select-item-action", "exp", "exp"); alias.AddAttribue("select-item-action", "count", "count"); alias.AddAttribue("select-item-action", "item", "item"); alias.AddAttribue("select-item-action", "id", "id"); alias.AddAttribue("select-item-action", "usePosition", "use-position"); alias.AddAttribue("move-item-action", "x", "x"); alias.AddAttribue("move-item-action", "y", "y"); alias.AddAttribue("move-item-action", "item", "item"); alias.AddAttribue("move-item-action", "toInventory", "to-inventory"); alias.AddAttribue("drop-item-action", "item", "item"); alias.AddAttribue("drop-item-action", "time", "time"); alias.AddAttribue("create-inventory-action", "name", "name"); alias.AddAttribue("create-inventory-action", "column", "column"); alias.AddAttribue("create-inventory-action", "row", "row"); alias.AddAttribue("create-inventory-action", "canDrop", "can-drop"); alias.AddAttribue("condition-key", "condition", "condition"); alias.AddAttribue("condition-key", "key", "key"); alias.AddAttribue("condition-key", "ui", "ui"); alias.AddAttribue("inventory-ui", "x", "x"); alias.AddAttribue("inventory-ui", "y", "y"); alias.AddAttribue("inventory-ui", "relative", "relative"); alias.AddAttribue("inventory-ui", "width", "width"); alias.AddAttribue("inventory-ui", "height", "height"); alias.AddAttribue("inventory-ui", "itemWidth", "item-width"); alias.AddAttribue("inventory-ui", "itemHeight", "item-height"); alias.AddAttribue("inventory-ui", "nomouse", "nomouse"); alias.AddAttribue("inventory-ui", "alwaysShow", "always-show"); alias.AddAttribue("inventory-ui", "itemFixed", "item-fixed"); alias.AddAttribue("back-ui", "background", "background"); alias.AddAttribue("item-ui", "back", "back"); alias.AddAttribue("item-ui", "item", "item"); alias.AddAttribue("item-ui", "count", "count"); alias.AddAttribue("item-ui", "hotkey", "hotkey"); alias.AddAttribue("item-ui", "used", "used"); alias.AddAttribue("item-ui", "notused", "not-used"); alias.AddAttribue("open-inventory-action", "alwaysClose", "close"); alias.AddAttribue("open-inventory-action", "alwaysOpen", "open"); alias.AddAttribue("open-inventory-action", "name", "name"); alias.AddAttribue("resort-inventory-action", "inventory", "inventory"); alias.AddAttribue("resort-inventory-action", "order", "order"); }
private static void SetRuleAlias(XmlAlias alias) { alias.AddClass("rule", new FreeRuleConfig()); alias.AddField("rule", "triggers", "triggers"); alias.AddAttribue("rule", "imports", "imports"); alias.AddClass("create-ui-action", new FreeUICreateAction()); alias.AddClass("image-ui", new FreeImageComponet()); alias.AddClass("r-image-ui", new FreeRotationImageComponet()); alias.AddClass("prefab-ui", new FreePrefabComponet()); alias.AddClass("text-ui", new FreeTextComponet()); alias.AddClass("number-ui", new FreeNumberComponet()); alias.AddClass("list-ui", new FreeListComponet()); alias.AddClass("rader-ui", new FreeRaderComponet()); alias.AddClass("exp-ui", new FreeExpComponet()); alias.AddClass("time-auto", new AutoTimeValue()); alias.AddClass("time-once-auto", new AutoOneTimeValue()); alias.AddClass("time-unit-auto", new AutoTimeUnitValue()); alias.AddClass("string-auto", new AutoTimeStringValue()); alias.AddClass("const-auto", new AutoConstValue()); alias.AddClass("visible-auto", new AutoVisibleValue()); alias.AddClass("point-auto", new AutoPointValue()); alias.AddClass("rotate-auto", new AutoRotateValue()); alias.AddClass("position-auto", new AutoPositionValue()); alias.AddClass("scale-auto", new AutoScaleValue()); alias.AddClass("two-position-auto", new AutoTwoPositionValue()); alias.AddClass("percent-auto", new AutoPercentValue()); alias.AddClass("cover-auto", new AutoImgCoverValue()); alias.AddClass("player-auto", new AutoPlayerValue()); alias.AddClass("client-auto", new AutoClientValue()); alias.AddClass("update-ui-action", new FreeUIUpdateAction()); alias.AddClass("update-effect-action", new FreeEffectUpdateAction()); alias.AddClass("effect-value", new FreeEffectValue()); alias.AddClass("image-value", new FreeUIImageValue()); alias.AddClass("text-value", new FreeUITextValue()); alias.AddClass("number-value", new FreeUINumberValue()); alias.AddClass("list-value", new FreeUIListValue()); alias.AddClass("show-ui-action", new FreeUIShowAction()); alias.AddField("cover-auto", "coverU", "u"); alias.AddField("cover-auto", "coverV", "v"); alias.AddAttribue("create-ui-action", "key", "key"); alias.AddAttribue("create-ui-action", "show", "show"); alias.AddAttribue("create-ui-action", "atBottom", "at-bottom"); alias.AddAttribue("AbstractFreeComponent", "desc", "desc"); alias.AddAttribue("AbstractFreeComponent", "event", "event"); alias.AddAttribue("AbstractFreeComponent", "width", "width"); alias.AddAttribue("AbstractFreeComponent", "height", "height"); alias.AddAttribue("AbstractFreeComponent", "x", "x"); alias.AddAttribue("AbstractFreeComponent", "y", "y"); alias.AddAttribue("AbstractFreeComponent", "relative", "relative"); alias.AddAttribue("AbstractFreeComponent", "parent", "parent"); alias.AddAttribue("image-ui", "url", "url"); alias.AddAttribue("image-ui", "coverUrl", "cover-url"); alias.AddAttribue("image-ui", "center", "center"); alias.AddAttribue("image-ui", "fixed", "fixed"); alias.AddAttribue("image-ui", "originalSize", "original-size"); alias.AddAttribue("image-ui", "useMask", "use-mask"); alias.AddAttribue("image-ui", "isMask", "is-mask"); alias.AddAttribue("image-ui", "mirror", "mirror"); alias.AddAttribue("prefab-ui", "name", "name"); alias.AddAttribue("r-image-ui", "url", "url"); alias.AddAttribue("r-image-ui", "reverse", "reverse"); alias.AddAttribue("text-ui", "text", "text"); alias.AddAttribue("text-ui", "size", "size"); alias.AddAttribue("text-ui", "color", "color"); alias.AddAttribue("text-ui", "bold", "bold"); alias.AddAttribue("text-ui", "font", "font"); alias.AddAttribue("text-ui", "hAlign", "h-align"); alias.AddAttribue("text-ui", "vAlign", "v-align"); alias.AddAttribue("text-ui", "multiLine", "multi-line"); alias.AddAttribue("number-ui", "number", "number"); alias.AddAttribue("number-ui", "font", "font"); alias.AddAttribue("number-ui", "length", "length"); alias.AddAttribue("number-ui", "align", "align"); alias.AddAttribue("number-ui", "scale", "scale"); alias.AddAttribue("number-ui", "showZero", "show-zero"); alias.AddAttribue("list-ui", "column", "column"); alias.AddAttribue("list-ui", "row", "row"); alias.AddAttribue("AbstractAutoValue", "field", "field"); alias.AddAttribue("AbstractAutoValue", "all", "all"); alias.AddAttribue("AbstractAutoValue", "id", "id"); alias.AddAttribue("time-auto", "time", "time"); alias.AddAttribue("time-auto", "from", "from"); alias.AddAttribue("time-auto", "to", "to"); alias.AddAttribue("time-auto", "reverse", "reverse"); alias.AddAttribue("time-once-auto", "time", "time"); alias.AddAttribue("time-once-auto", "from", "from"); alias.AddAttribue("time-once-auto", "to", "to"); alias.AddAttribue("time-unit-auto", "unit", "unit"); alias.AddAttribue("time-unit-auto", "scale", "scale"); alias.AddAttribue("time-unit-auto", "desc", "desc"); alias.AddAttribue("string-auto", "time", "time"); alias.AddAttribue("string-auto", "values", "values"); alias.AddAttribue("const-auto", "value", "value"); alias.AddAttribue("visible-auto", "reverse", "reverse"); alias.AddAttribue("visible-auto", "xyz", "xyz"); alias.AddAttribue("point-auto", "xyz", "xyz"); alias.AddAttribue("point-auto", "delta", "delta"); alias.AddAttribue("rotate-auto", "angle", "angle"); alias.AddAttribue("position-auto", "distance", "distance"); alias.AddAttribue("position-auto", "height", "height"); alias.AddAttribue("position-auto", "pitch", "pitch"); alias.AddAttribue("position-auto", "angle", "angle"); alias.AddAttribue("two-position-auto", "distance", "distance"); alias.AddAttribue("two-position-auto", "height", "height"); alias.AddAttribue("two-position-auto", "source", "source"); alias.AddAttribue("two-position-auto", "target", "target"); alias.AddAttribue("two-position-auto", "toSource", "to-source"); alias.AddAttribue("player-auto", "key", "key"); alias.AddAttribue("client-auto", "key", "key"); alias.AddAttribue("client-auto", "type", "type"); alias.AddAttribue("update-ui-action", "key", "key"); alias.AddAttribue("update-effect-action", "key", "key"); alias.AddAttribue("AbstractFreeUIValue", "seq", "seq"); alias.AddAttribue("AbstractFreeUIValue", "autoStatus", "auto-status"); alias.AddAttribue("AbstractFreeUIValue", "autoIndex", "auto-index"); alias.AddAttribue("effect-value", "value", "value"); alias.AddAttribue("image-value", "url", "url"); alias.AddClass("prefab-value", new FreePrefabValue()); alias.AddClass("one-field-value", new OnePrefabValue()); alias.AddAttribue("one-field-value", "field", "field"); alias.AddAttribue("one-field-value", "value", "value"); alias.AddAttribue("text-value", "text", "text"); alias.AddAttribue("number-value", "number", "number"); alias.AddAttribue("list-value", "sorts", "sorts"); alias.AddAttribue("list-value", "order", "order"); alias.AddAttribue("list-value", "range", "range"); alias.AddAttribue("list-value", "capacity", "capacity"); alias.AddAttribue("list-value", "fields", "fields"); alias.AddAttribue("list-value", "autoCondition", "auto-condition"); alias.AddAttribue("show-ui-action", "key", "key"); alias.AddAttribue("show-ui-action", "time", "time"); alias.AddClass("create-effect-action", new FreeEffectCreateAction()); alias.AddClass("show-effect-action", new FreeEffectShowAction()); alias.AddClass("delete-effect-action", new FreeEffectDeleteAction()); alias.AddClass("single-effect", new FreeSingleEffect()); alias.AddClass("particle-effect", new FreeParticleEffect()); alias.AddClass("particle-fix-effect", new FreeFixParticleLinkEffect()); alias.AddAttribue("create-effect-action", "key", "key"); alias.AddAttribue("create-effect-action", "show", "show"); alias.AddAttribue("create-effect-action", "pvs", "pvs"); alias.AddAttribue("create-effect-action", "scale", "scale"); alias.AddAttribue("create-effect-action", "rotation", "rotation"); alias.AddAttribue("create-effect-action", "img", "img"); alias.AddAttribue("create-effect-action", "desc", "desc"); alias.AddAttribue("show-effect-action", "key", "key"); alias.AddAttribue("show-effect-action", "time", "time"); alias.AddAttribue("delete-effect-action", "key", "key"); alias.AddAttribue("single-effect", "xyz", "xyz"); alias.AddAttribue("single-effect", "scale", "scale"); alias.AddAttribue("single-effect", "rotation", "rotation"); alias.AddAttribue("single-effect", "depth", "depth"); alias.AddAttribue("single-effect", "ptype", "ptype"); alias.AddAttribue("single-effect", "culling", "culling"); alias.AddAttribue("single-effect", "resUrl", "res-url"); alias.AddAttribue("single-effect", "model", "model"); alias.AddAttribue("single-effect", "gtype", "gtype"); alias.AddAttribue("single-effect", "alpha", "alpha"); alias.AddAttribue("single-effect", "fixed", "fixed"); alias.AddAttribue("single-effect", "fixPoint", "fix-point"); alias.AddAttribue("cube-effect", "xyz", "xyz"); alias.AddAttribue("cube-effect", "scale", "scale"); alias.AddAttribue("cube-effect", "rotation", "rotation"); alias.AddAttribue("cube-effect", "resUrl", "res-url"); alias.AddAttribue("cube-effect", "alpha", "alpha"); alias.AddAttribue("two-effect", "size", "size"); alias.AddAttribue("two-effect", "source", "source"); alias.AddAttribue("two-effect", "target", "target"); alias.AddAttribue("two-effect", "resUrl", "res-url"); alias.AddAttribue("two-effect", "fromZ", "from-z"); alias.AddAttribue("two-effect", "toZ", "to-z"); alias.AddAttribue("particle-effect", "xyz", "xyz"); alias.AddAttribue("particle-effect", "scale", "scale"); alias.AddAttribue("particle-effect", "rotation", "rotation"); alias.AddAttribue("particle-effect", "name", "name"); alias.AddAttribue("particle-two-effect", "scale", "scale"); alias.AddAttribue("particle-two-effect", "source", "source"); alias.AddAttribue("particle-two-effect", "target", "target"); alias.AddAttribue("particle-two-effect", "name", "name"); alias.AddAttribue("particle-two-effect", "adjust", "adjust"); alias.AddAttribue("particle-two-effect", "fromZ", "from-z"); alias.AddAttribue("particle-two-effect", "toZ", "to-z"); alias.AddAttribue("particle-fix-effect", "scale", "scale"); alias.AddAttribue("particle-fix-effect", "name", "name"); alias.AddAttribue("particle-fix-effect", "adjust", "adjust"); }
private static void aliasCommon(XmlAlias alias) { alias.AddClass("code-action", new UseCodeAction()); alias.AddClass("create-entity-action", new CreateMoveEntityAction()); alias.AddField("create-entity-action", "removeAction", "remove-action"); alias.AddField("create-entity-action", "removeCondition", "remove-condition"); alias.AddField("create-entity-action", "createAction", "create-action"); alias.AddField("create-entity-action", "deadAction", "dead-action"); alias.AddField("create-entity-action", "damageAction", "damage-action"); alias.AddField("create-entity-action", "frameAction", "frame-action"); alias.AddField("create-entity-action", "removedCondition", "removedCondition"); alias.AddAttribue("create-entity-action", "name", "name"); alias.AddAttribue("create-entity-action", "hp", "hp"); alias.AddAttribue("create-entity-action", "fixed", "fixed"); alias.AddAttribue("create-entity-action", "length", "length"); alias.AddAttribue("create-entity-action", "width", "width"); alias.AddAttribue("create-entity-action", "height", "height"); alias.AddAttribue("AbstractMapRegion", "useOut", "use-out"); alias.AddClass("circle-region", new MapCircleRegion()); alias.AddAttribue("circle-region", "radius", "radius"); alias.AddAttribue("circle-region", "change", "change"); alias.AddAttribue("circle-region", "zRange", "z-range"); alias.AddClass("point-region", new MapPointRegion()); alias.AddAttribue("point-region", "type", "type"); alias.AddClass("entity-position", new PosEntitySelector()); alias.AddAttribue("entity-position", "condition", "condition"); alias.AddAttribue("entity-position", "player", "player"); alias.AddAttribue("entity-position", "distance", "distance"); alias.AddAttribue("entity-position", "height", "height"); alias.AddAttribue("entity-position", "pitch", "pitch"); alias.AddAttribue("entity-position", "angle", "angle"); alias.AddAttribue("entity-position", "fromEye", "from-eye"); alias.AddClass("free-position", new PosEditSelector()); alias.AddAttribue("free-position", "type", "type"); alias.AddAttribue("free-position", "index", "index"); alias.AddAttribue("free-position", "notSame", "not-same"); alias.AddAttribue("free-position", "birth", "birth"); alias.AddClass("not-same-position", new NotSamePosSelector()); alias.AddAttribue("not-same-position", "type", "type"); alias.AddClass("angle-position", new PosAngleSelector()); alias.AddAttribue("angle-position", "radius", "radius"); alias.AddAttribue("angle-position", "angle", "angle"); alias.AddField("angle-position", "targetPos", "target-pos"); alias.AddField("angle-position", "pos", "pos"); alias.AddClass("not-move", new FreeNotMove()); alias.AddField("not-move", "startPos", "pos"); alias.AddClass("text-msg-action", new TextMessageAction()); alias.AddAttribue("text-msg-action", "message", "message"); alias.AddAttribue("text-msg-action", "interval", "interval"); alias.AddClass("select-player-action", new SelectPlayerAction()); alias.AddField("select-player-action", "noneAction", "none-action"); alias.AddAttribue("select-player-action", "condition", "exp"); alias.AddAttribue("select-player-action", "order", "order"); alias.AddAttribue("select-player-action", "count", "count"); alias.AddAttribue("select-player-action", "observer", "observer"); alias.AddAttribue("select-player-action", "selectedName", "target"); alias.AddClass("select-point-action", new SelectPointAction()); alias.AddAttribue("select-point-action", "count", "count"); }
public static XmlAlias GetAlias() { if (alias == null) { alias = new XmlAlias(); alias.AddClass("unit", new ConfigGameUnit()); alias.AddClass("triggers", new TriggerList()); alias.AddClass("trigger", new GameTrigger()); alias.AddClass("multi-action", new MultiGameAction()); alias.AddClass("condition-action", new ConditionGameAction()); alias.AddClass("para-action", new DefineParaAction()); alias.AddClass("para-value", new ParaValue()); alias.AddClass("exp-condition", new ExpParaCondition()); alias.AddClass("add-para-action", new AddParaAction()); alias.AddClass("add-para-value-action", new AddParaValueAction()); alias.AddClass("remove-para-action", new RemoveParaAction()); alias.AddClass("arg-value", new ArgValue()); alias.AddClass("func-arg", new FuncArg()); alias.AddClass("game-func", new GameFunc()); alias.AddClass("string", new StringPara()); alias.AddClass("int", new IntPara()); alias.AddClass("long", new LongPara()); alias.AddClass("float", new FloatPara()); alias.AddClass("double", new DoublePara()); alias.AddClass("bool", new BoolPara()); alias.AddClass("xyz", new XYZPara()); alias.AddClass("elapse", new TimeElapsePara()); alias.AddClass("update-int", new UpdatePara()); alias.AddClass("sort-list", new ParaListSet()); alias.AddClass("map", new MapPara()); alias.AddClass("exp-action", new ExpGameAction()); alias.AddClass("formula-action", new FormulaAction()); alias.AddClass("random-action", new RandomGameAction()); alias.AddClass("roll-action", new RollGameAction()); alias.AddClass("save-var-action", new SaveVarAction()); alias.AddClass("string-map-action", new StringMapAction()); alias.AddClass("random-string-action", new RandomStringAction()); alias.AddClass("string-multi-action", new StringMultiAction()); alias.AddClass("con-action", new RandomGameAction.ConAction()); alias.AddClass("sort-action", new ListAddAction()); alias.AddClass("clear-list-action", new ListClearAction()); alias.AddClass("sort-list-action", new ListSortAction()); alias.AddClass("for-list-action", new ListForAction()); alias.AddClass("for-action", new ForAction()); alias.AddClass("add-from-other-action", new AddParaFromOtherAction()); alias.AddClass("action-skill", new ActionSkill()); alias.AddClass("effect-skill", new RangeBufSkill()); alias.AddClass("aura-skill", new AuraSKill()); alias.AddClass("buf-skill", new RangeBufSkill()); alias.AddClass("group-effect", new AuraSKill.GroupEffect()); alias.AddClass("simple-effect", new SimpleSkillEffect()); alias.AddClass("simple-skill", new SimpleInstantSkill()); alias.AddClass("click-trigger", new SkillClickTrigger()); alias.AddClass("multi-trigger", new SkillMultiTrigger()); alias.AddClass("exp-trigger", new SkillExpTrigger()); alias.AddClass("press-trigger", new SkillPressTrigger()); alias.AddClass("cast-trigger", new SkillCastTrigger()); alias.AddClass("time-trigger", new SkillTimeTrigger()); alias.AddClass("key-interrupter", new SkillKeyInterrupter()); alias.AddClass("multi-interrupter", new SkillMultiInterrupter()); alias.AddClass("condition-interrupter", new SkillConditionInterrupter()); alias.AddClass("free-item", new FreeItem()); alias.AddField("condition-action", "trueAction", "true"); alias.AddField("condition-action", "falseAction", "false"); alias.AddField("for-list-action", "noneAction", "none-action"); alias.AddField("AbstractSkill", "disableAction", "disable-action"); alias.AddField("AbstractCoolDownSkill", "notReadyAction", "not-ready-action"); alias.AddField("AbstractCoolDownSkill", "alreadyAction", "already-action"); alias.AddField("AbstractCoolDownSkill", "cooldownAction", "cooldown-action"); alias.AddField("AbstractCoolDownSkill", "interAction", "inter-action"); alias.AddField("AbstractSkillTrigger", "interAction", "inter-action"); alias.AddField("cast-trigger", "castAction", "cast-action"); alias.AddField("cast-trigger", "interAction", "inter-action"); alias.AddField("cast-trigger", "startTrigger", "start-trigger"); alias.AddField("time-trigger", "castAction", "cast-action"); alias.AddField("time-trigger", "interAction", "inter-action"); alias.AddField("time-trigger", "startTrigger", "start-trigger"); alias.AddField("free-item", "buyAction", "buy-action"); alias.AddField("free-item", "clickSkill", "click-skill"); alias.AddField("free-item", "addAction", "add-action"); alias.AddField("free-item", "removeAction", "remove-action"); alias.AddField("free-item", "createAction", "create-action"); alias.AddField("free-item", "notReadyAction", "not-ready-action"); alias.AddField("free-item", "condition", "ready-condition"); alias.AddField("free-item", "dragCondition", "drag-condition"); alias.AddField("free-item", "dragAction", "drag-action"); alias.AddAttribue("unit", "key", "key"); alias.AddAttribue("unit", "parent", "parent"); alias.AddAttribue("unit", "paraParent", "para-parent"); alias.AddAttribue("unit", "triggerParent", "trigger-parent"); alias.AddAttribue("trigger", "key", "key"); alias.AddAttribue("trigger", "desc", "desc"); alias.AddAttribue("trigger", "group", "group"); alias.AddAttribue("trigger", "name", "name"); alias.AddAttribue("AbstractGameAction", "desc", "desc"); alias.AddAttribue("para-value", "name", "name"); alias.AddAttribue("para-value", "type", "type"); alias.AddAttribue("para-value", "isPublic", "public"); alias.AddAttribue("para-value", "desc", "desc"); alias.AddAttribue("para-value", "value", "value"); alias.AddAttribue("exp-condition", "exp", "exp"); alias.AddAttribue("add-para-action", "key", "key"); alias.AddAttribue("add-para-action", "override", "override"); alias.AddAttribue("add-para-value-action", "key", "key"); alias.AddAttribue("add-para-value-action", "override", "override"); alias.AddAttribue("remove-para-action", "key", "key"); alias.AddAttribue("remove-para-action", "para", "para"); alias.AddAttribue("arg-value", "name", "name"); alias.AddAttribue("arg-value", "value", "value"); alias.AddAttribue("func-arg", "name", "name"); alias.AddAttribue("func-arg", "type", "type"); alias.AddAttribue("func-arg", "desc", "desc"); alias.AddAttribue("func-arg", "defaultValue", "default-value"); alias.AddAttribue("game-func", "key", "key"); alias.AddAttribue("game-func", "name", "name"); alias.AddAttribue("game-func", "desc", "desc"); alias.AddAttribue("AbstractPara", "name", "name"); alias.AddAttribue("AbstractPara", "desc", "desc"); alias.AddAttribue("AbstractPara", "isPublic", "public"); alias.AddAttribue("sort-list", "order", "order"); alias.AddAttribue("sort-list", "unique", "unique"); alias.AddAttribue("sort-list", "capacity", "capacity"); alias.AddAttribue("map", "number", "number"); alias.AddAttribue("exp-action", "exp", "exp"); alias.AddAttribue("formula-action", "para", "para"); alias.AddAttribue("formula-action", "formula", "formula"); alias.AddAttribue("roll-action", "percent", "percent"); alias.AddAttribue("save-var-action", "name", "name"); alias.AddAttribue("save-var-action", "var", "var"); alias.AddAttribue("string-map-action", "keys", "keys"); alias.AddAttribue("string-map-action", "key", "key"); alias.AddAttribue("string-map-action", "useKey", "use-key"); alias.AddAttribue("random-string-action", "keys", "keys"); alias.AddAttribue("random-string-action", "all", "all"); alias.AddAttribue("random-string-action", "count", "count"); alias.AddAttribue("random-string-action", "repeat", "repeat"); alias.AddAttribue("string-multi-action", "keys", "keys"); alias.AddAttribue("con-action", "probability", "probability"); alias.AddAttribue("sort-action", "sorter", "sorter"); alias.AddAttribue("sort-action", "key", "key"); alias.AddAttribue("clear-list-action", "sorter", "sorter"); alias.AddAttribue("clear-list-action", "key", "key"); alias.AddAttribue("clear-list-action", "exp", "exp"); alias.AddAttribue("sort-list-action", "sorter", "sorter"); alias.AddAttribue("sort-list-action", "key", "key"); alias.AddAttribue("sort-list-action", "exp", "exp"); alias.AddAttribue("sort-list-action", "keep", "keep"); alias.AddAttribue("for-list-action", "sorter", "sorter"); alias.AddAttribue("for-list-action", "key", "key"); alias.AddAttribue("for-list-action", "remove", "remove"); alias.AddAttribue("for-action", "from", "from"); alias.AddAttribue("for-action", "to", "to"); alias.AddAttribue("for-action", "i", "i"); alias.AddAttribue("add-from-other-action", "key", "key"); alias.AddAttribue("add-from-other-action", "from", "from"); alias.AddAttribue("add-from-other-action", "fields", "fields"); alias.AddAttribue("add-from-other-action", "override", "override"); alias.AddAttribue("AbstractReflectAddAction", "fields", "fields"); alias.AddAttribue("AbstractReflectSetAction", "fields", "fields"); alias.AddAttribue("AbstractReflectSetAction", "values", "values"); alias.AddAttribue("AbstractSkill", "key", "key"); alias.AddAttribue("AbstractSkill", "desc", "desc"); alias.AddAttribue("AbstractCoolDownSkill", "cooldown", "cooldown"); alias.AddAttribue("AbstractCoolDownSkill", "interCoolDown", "inter-cooldown"); alias.AddAttribue("AbstractCoolDownSkill", "last", "last"); alias.AddAttribue("AbstractCoolDownSkill", "always", "always"); alias.AddAttribue("aura-skill", "range", "range"); alias.AddAttribue("buf-skill", "range", "range"); alias.AddAttribue("group-effect", "key", "key"); alias.AddAttribue("group-effect", "condition", "condition"); alias.AddAttribue("AbstractSkillEffect", "key", "key"); alias.AddAttribue("AbstractSkillEffect", "time", "time"); alias.AddAttribue("AbstractSkillEffect", "source", "source"); alias.AddAttribue("AbstractSkillEffect", "level", "level"); alias.AddAttribue("click-trigger", "key", "key"); alias.AddAttribue("multi-trigger", "or", "or"); alias.AddAttribue("exp-trigger", "exp", "exp"); alias.AddAttribue("press-trigger", "key", "key"); alias.AddAttribue("cast-trigger", "time", "time"); alias.AddAttribue("cast-trigger", "key", "key"); alias.AddAttribue("time-trigger", "time", "time"); alias.AddAttribue("key-interrupter", "press", "press"); alias.AddAttribue("key-interrupter", "release", "release"); alias.AddAttribue("free-item", "key", "key"); alias.AddAttribue("free-item", "name", "name"); alias.AddAttribue("free-item", "desc", "desc"); alias.AddAttribue("free-item", "img", "img"); alias.AddAttribue("free-item", "iconSize", "icon-size"); alias.AddAttribue("free-item", "unique", "unique"); alias.AddAttribue("free-item", "width", "width"); alias.AddAttribue("free-item", "height", "height"); alias.AddAttribue("free-item", "consume", "consume"); alias.AddAttribue("free-item", "useAll", "use-all"); alias.AddAttribue("free-item", "itemStack", "item-stack"); alias.AddAttribue("free-item", "useClose", "use-close"); alias.AddClass("commons", new CommonActions()); alias.AddClass("use-action", new UseCommonAction()); alias.AddClass("common-action", new CommonGameAction()); alias.AddAttribue("use-action", "key", "key"); alias.AddAttribue("common-action", "scope", "scope"); alias.AddAttribue("common-action", "key", "key"); alias.AddAttribue("common-action", "name", "name"); alias.AddAttribue("common-action", "group", "group"); alias.AddAttribue("common-action", "desc", "desc"); alias.AddClass("components", new GameComponents()); alias.AddClass("use-component", new UseGameComponent()); alias.AddAttribue("use-component", "key", "key"); alias.AddAttribue("use-component", "name", "name"); alias.AddAttribue("use-component", "desc", "desc"); alias.AddClass("component-arg-action", new DefineComponentArgAction()); alias.AddClass("component-pos", new ComponentPosSelector()); alias.AddAttribue("component-pos", "name", "name"); alias.AddAttribue("component-pos", "title", "title"); alias.AddField("component-pos", "defaultPos", "default-pos"); alias.AddClass("component-effect", new ComponentFreeEffect()); alias.AddAttribue("component-effect", "name", "name"); alias.AddAttribue("component-effect", "title", "title"); alias.AddField("component-effect", "defaultEffect", "default-effect"); alias.AddClass("component-action", new ComponentAction()); alias.AddAttribue("component-action", "name", "name"); alias.AddAttribue("component-action", "title", "title"); alias.AddField("component-action", "defaultAction", "default-action"); alias.AddClass("component-ui", new ComponentUIComponent()); alias.AddAttribue("component-ui", "name", "name"); alias.AddAttribue("component-ui", "title", "title"); alias.AddField("component-ui", "component", "default-ui"); alias.AddClass("component-trigger", new ComponentTrigger()); alias.AddAttribue("component-trigger", "name", "name"); alias.AddAttribue("component-trigger", "title", "title"); alias.AddAttribue("component-trigger", "desc", "desc"); alias.AddField("component-trigger", "defaultTrigger", "default-trigger"); alias.AddClass("component-condition", new ComponentParaCondition()); alias.AddAttribue("component-condition", "name", "name"); alias.AddAttribue("component-condition", "title", "title"); alias.AddAttribue("component-condition", "desc", "desc"); alias.AddField("component-condition", "defaultCondition", "default-condition"); alias.AddClass("component-skill", new ComponentSkill()); alias.AddAttribue("component-skill", "name", "name"); alias.AddAttribue("component-skill", "title", "title"); alias.AddAttribue("component-skill", "desc", "desc"); alias.AddField("component-skill", "defaultSkill", "default-skill"); alias.AddClass("player-action-skill", new PlayerActionSkill()); alias.AddAttribue("AbstractPlayerAction", "player", "player"); alias.AddClass("add-skill-action", new AddSkillAction()); alias.AddClass("assign-position", new PosAssignSelector()); alias.AddClass("adjust-position", new PosAdjustSelector()); alias.AddAttribue("assign-position", "x", "x"); alias.AddAttribue("assign-position", "y", "y"); alias.AddAttribue("assign-position", "z", "z"); alias.AddAttribue("assign-position", "yaw", "yaw"); alias.AddAttribue("assign-position", "pitch", "pitch"); alias.AddAttribue("adjust-position", "x", "x"); alias.AddAttribue("adjust-position", "y", "y"); alias.AddAttribue("adjust-position", "z", "z"); alias.AddAttribue("adjust-position", "pitch", "pitch"); alias.AddAttribue("adjust-position", "yaw", "yaw"); alias.AddClass("direction-position", new PosDirectionSelector()); alias.AddAttribue("direction-position", "distance", "distance"); alias.AddAttribue("direction-position", "height", "height"); alias.AddAttribue("direction-position", "pitch", "pitch"); alias.AddAttribue("direction-position", "angle", "angle"); alias.AddClass("time-filter-action", new TimeFilterAction()); alias.AddAttribue("time-filter-action", "interval", "interval"); alias.AddAttribue("time-filter-action", "firstDelay", "first-delay"); alias.AddClass("create-free-buf-action", new FreeBufCreateAction()); alias.AddClass("free-buf", new FreeBuf()); alias.AddField("free-buf", "eatAction", "eat-action"); alias.AddField("free-buf", "enterAction", "enter-action"); alias.AddField("free-buf", "leaveAction", "leave-action"); alias.AddField("free-buf", "effectAction", "effect-action"); alias.AddField("free-buf", "createAction", "create-action"); alias.AddAttribue("free-buf", "key", "key"); alias.AddAttribue("free-buf", "type", "type"); alias.AddAttribue("free-buf", "vars", "vars"); alias.AddAttribue("free-buf", "condition", "condition"); alias.AddAttribue("free-buf", "effect", "effect"); alias.AddAttribue("free-buf", "consume", "consume"); alias.AddAttribue("free-buf", "time", "time"); alias.AddClass("timer-action", new TimerGameAction()); alias.AddClass("cancel-timer-action", new CancelTimerAction()); alias.AddField("timer-action", "startAction", "start-action"); alias.AddField("timer-action", "action", "action"); alias.AddAttribue("timer-action", "name", "name"); alias.AddAttribue("timer-action", "time", "time"); alias.AddAttribue("timer-action", "count", "count"); alias.AddAttribue("cancel-timer-action", "name", "name"); AliasOnes(alias); } return(alias); }