示例#1
0
        public void LeaveFaction()
        {
            Character c1 = new Character(true, 1000);
            Factions  f  = new Factions();

            f.Name         = "F1";
            c1.RangeChoice = 1;
            var resulJoin = _fightService.JoinFaction(f, c1);

            Factions factionLeave = _fightService.GetFaction(c1.Factions[0].Guid, c1);
            var      resul        = _fightService.JoinFaction(factionLeave, c1);
        }