Exemplo n.º 1
0
    private void SendBattleSummary()
    {
        BattleEndRequest request = new BattleEndRequest();

        request.levelID = LevelManager.Singleton.CurrentLevelData.id;

        request.levelState = currentLevelState;

        request.itemList = PlayerInfo.Instance.CombatInventory.itemList;

        request.exp = ExpEarned;

        NetworkManager.Instance.BattleEnd(request, OnSendBattleSummary);
    }
Exemplo n.º 2
0
 public void BattleEnd(BattleEndRequest request, ServerCallbackDelegate callback)
 {
     SendCommand(request, callback);
 }