Ejemplo n.º 1
0
        //////////////////////////OnXXX//////////////////////////////////////////////////


        ////////////////////////////////////////////////////////////////////////////
        //获得指定的角色
        public Role[] GetRoles(string id = null)
        {
            return(SubDoerUtil1.GetSubDoers <Role>(this.parentDoer, this.subDoerKey, id, null));
        }
Ejemplo n.º 2
0
 //获得指定种类的装备
 public Item[] GetEquipsOfTypes(string type1, string type2 = null)
 {
     return(SubDoerUtil1.GetSubDoers <Item>(this.parentDoer, this.subDoerKey, null,
                                            (equip) => this.__FilterType(equip, type1, type2)));
 }
Ejemplo n.º 3
0
        //////////////////////////OnXXX//////////////////////////////////////////////////


        ////////////////////////////////////////////////////////////////////////////
        public Mission[] GetMissions(string id = null)
        {
            return(SubDoerUtil1.GetSubDoers <Mission>(this.parentDoer, this.subDoerKey, id, null));
        }
Ejemplo n.º 4
0
        ////////////////////////////OnXXX////////////////////////////////////////////////


        ////////////////////////////////////////////////////////////////////////////
        //获得指定的装备
        public Item[] GetEquips(string id = null)
        {
            return(SubDoerUtil1.GetSubDoers <Item>(this.parentDoer, this.subDoerKey, id, null));
        }