示例#1
0
文件: Roles.cs 项目: uiopsczc/Test
 //清除所有角色
 public void ClearRoles()
 {
     SubDoerUtil1.ClearSubDoers <Role>(this.parentDoer, this.subDoerKey,
                                       (role) => { ((User)this.parentDoer).RemoveRole(role); });
 }
示例#2
0
 //清除所有镶物
 public void ClearEquips()
 {
     SubDoerUtil1.ClearSubDoers <Item>(this.parentDoer, this.subDoerKey,
                                       (equip) => { ((Critter)this.parentDoer).TakeOffEquip(equip); });
 }
示例#3
0
 public void ClearMissions()
 {
     SubDoerUtil1.ClearSubDoers <Mission>(this.parentDoer, this.subDoerKey, (mission) => { });
 }
示例#4
0
文件: Embeds.cs 项目: uiopsczc/Test
 //清除所有镶物
 public void ClearEmbeds()
 {
     SubDoerUtil1.ClearSubDoers <Item>(this.parentDoer, this.subDoerKey,
                                       (embed) => { ((Item)this.parentDoer).EmbedOff(embed); });
 }