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