//清除所有角色 public void ClearRoles() { SubDoerUtil1.ClearSubDoers <Role>(this.parentDoer, this.subDoerKey, (role) => { ((User)this.parentDoer).RemoveRole(role); }); }
//清除所有镶物 public void ClearEquips() { SubDoerUtil1.ClearSubDoers <Item>(this.parentDoer, this.subDoerKey, (equip) => { ((Critter)this.parentDoer).TakeOffEquip(equip); }); }
public void ClearMissions() { SubDoerUtil1.ClearSubDoers <Mission>(this.parentDoer, this.subDoerKey, (mission) => { }); }
//清除所有镶物 public void ClearEmbeds() { SubDoerUtil1.ClearSubDoers <Item>(this.parentDoer, this.subDoerKey, (embed) => { ((Item)this.parentDoer).EmbedOff(embed); }); }