public override void Execute() { var army = this._site.InitArmyGroup(); if (army != null) { bool isCaption = this._site.CheckIsGroupCaption(); this._site.ArmyGroupLeave(); foreach (var c in army.CharaInfoVoList) { var gc = CharacterCache.GetCharByNo(c.CharaNo); if (gc != null) { CharacterArmyGroupCache.ClearCache(gc.CharaId); AllMapCache.ClearCache(gc.CharaId); } } if (isCaption) { CharacterConfigCache.CancelDungeonGuaji(this._site.Config); } } Response.WriteAsync(JsonUtil.Serialize(new { })); }
public override void Execute() { string aid = GetQuery("aid"); this._site.ArmyGroupJoin(aid); CharacterConfigCache.CancelGuaji(this._site.Config); CharacterArmyGroupCache.ClearCache(this._site.CurrentCharId); var army = this._site.InitArmyGroup(); if (army != null) { foreach (var c in army.CharaInfoVoList) { var gc = CharacterCache.GetCharByNo(c.CharaNo); if (gc != null && gc.CharaId != this._site.CurrentCharId) { CharacterArmyGroupCache.ClearCache(gc.CharaId); } } } Response.WriteAsync(JsonUtil.Serialize(new { })); }
public override void Execute() { string name = GetQuery <string>("name"); this._site.ArmyGroupCreate(name); CharacterArmyGroupCache.ClearCache(this._site.CurrentCharId); CharacterConfigCache.CancelGuaji(this._site.Config); Response.WriteAsync(JsonUtil.Serialize(new { })); }
public override void Execute() { CharacterCache.ClearCache(this._site.CurrentCharId); CharacterEquipCache.ClearCache(this._site.CurrentCharId); CharacterSkillCache.ClearCache(this._site.CurrentCharId); AllMapCache.ClearCache(this._site.CurrentCharId); CharacterMarketCache.ClearCache(this._site.CurrentCharId); CharacterArmyGroupCache.ClearCache(this._site.CurrentCharId); RealmBonusCache.ClearCache(this._site.CurrentCharId); CharacterActivityCache.ClearCache(this._site.CurrentCharId); Response.WriteAsync(JsonUtil.Serialize(new { })); }
public override void Execute() { string no = GetQuery <string>("no"); var army = this._site.InitArmyGroup(); if (army != null) { this._site.ArmyGroupRemoveChar(no); foreach (var c in army.CharaInfoVoList) { var gc = CharacterCache.GetCharByNo(c.CharaNo); if (gc != null) { CharacterArmyGroupCache.ClearCache(gc.CharaId); } } AllMapCache.ClearCache(this._site.CurrentCharId); } Response.WriteAsync(JsonUtil.Serialize(new { })); }