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