Example #1
0
    public void LogicP1vP1FightResult(P1vP1RewardData data)
    {
        var one = new P1vP1Change_One();

        one.Type    = 0;
        one.NewRank = data.NewRank;
        one.OldRank = data.OldRank;
        one.Name    = data.OpponentName;
        var e = new ArenaFightRecoardChange(one);

        EventDispatcher.Instance.DispatchEvent(e);
        StartCoroutine(LogicP1vP1FightResultCoroutine(data));
    }
Example #2
0
    public void NotifyP1vP1Change(P1vP1Change_One one)
    {
        var e = new ArenaFightRecoardChange(one);

        EventDispatcher.Instance.DispatchEvent(e);
    }