Example #1
0
 public void ClearItems()
 {
     SubDoerUtil2.ClearSubDoers <Scene>(this.parentDoer, this.subDoerKey);
 }
Example #2
0
 public Item RemoveItem(string rid)
 {
     return(SubDoerUtil2.RemoveSubDoer <Item>(this.parentDoer, this.subDoerKey, rid));
 }
Example #3
0
 public Item RemoveItem(Item item)
 {
     return(SubDoerUtil2.RemoveSubDoer <Item>(this.parentDoer, this.subDoerKey, item));
 }
Example #4
0
 public Item[] RemoveItems(string id, int count)
 {
     return(SubDoerUtil2.RemoveSubDoers <Item>(this.parentDoer, this.subDoerKey, id, count,
                                               Client.instance.itemFactory));
 }
Example #5
0
 public bool CanRemoveItems(string id, int count)
 {
     return(SubDoerUtil2.CanRemoveSubDoers(this.parentDoer, this.subDoerKey, id, count));
 }
Example #6
0
 ////////////////////DoXXX/////////////////////////////////
 //卸载
 public void DoRelease()
 {
     SubDoerUtil2.DoReleaseSubDoer <Item>(this.parentDoer, this.subDoerKey);
 }
Example #7
0
 public void AddItem(Item item)
 {
     SubDoerUtil2.AddSubDoers(this.parentDoer, this.subDoerKey, item);
 }
Example #8
0
 public int GetItemCount(string id)
 {
     return(SubDoerUtil2.GetSubDoerCount <Item>(this.parentDoer, this.subDoerKey, id));
 }
Example #9
0
 public bool HasItem(string id)
 {
     return(SubDoerUtil2.HasSubDoers <Item>(this.parentDoer, this.subDoerKey, id));
 }
Example #10
0
 public string[] GetItemIds()
 {
     return(SubDoerUtil2.GetSubDoerIds(this.parentDoer, this.subDoerKey));
 }
Example #11
0
 public Item[] GetItemsOfTypes(string type1, string type2 = null)
 {
     return(SubDoerUtil2.GetSubDoers <Item>(this.parentDoer, this.subDoerKey, null,
                                            (item) => this.__FilterType(item, type1, type2)));
 }
Example #12
0
 //获得指定的镶物
 public Item GetItem(string idOrRid)
 {
     return(SubDoerUtil2.GetSubDoer <Item>(this.parentDoer, this.subDoerKey, idOrRid));
 }
Example #13
0
 public ArrayList GetItems_ToEdit(string id)         //可以直接插入删除
 {
     return(SubDoerUtil2.GetSubDoers_ToEdit(this.parentDoer, this.subDoerKey, id));
 }
Example #14
0
 public Item[] GetItems(string id = null)
 {
     return(SubDoerUtil2.GetSubDoers <Item>(this.parentDoer, this.subDoerKey, id, null));
 }