Track MGP
This commit is contained in:
parent
520f7373e6
commit
7e0647913c
@ -72,6 +72,7 @@ internal sealed class InfluxStatisticsClient : IDisposable
|
||||
.Tag("type", character.CharacterType.ToString())
|
||||
.Tag("fc_id", character.FreeCompanyId > 0 ? character.FreeCompanyId.ToString() : null)
|
||||
.Field("gil", localStats?.Gil ?? currencies.Gil)
|
||||
.Field("mgp", localStats?.MGP ?? 0)
|
||||
.Field("ventures", currencies.Ventures)
|
||||
.Field("ceruleum_tanks", currencies.CeruleumTanks)
|
||||
.Field("repair_kits", currencies.RepairKits)
|
||||
|
@ -15,4 +15,5 @@ public sealed record LocalStats
|
||||
public string? MsqName { get; set; }
|
||||
public uint MsqGenre { get; set; }
|
||||
public int? Gil { get; set; }
|
||||
public int MGP { get; set; }
|
||||
}
|
||||
|
@ -199,6 +199,7 @@ internal sealed class LocalStatsCalculator : IDisposable
|
||||
ClassJobLevels = ExtractClassJobLevels(playerState),
|
||||
StartingTown = playerState->StartTown,
|
||||
Gil = InventoryManager.Instance()->GetInventoryItemCount(1),
|
||||
MGP = InventoryManager.Instance()->GetInventoryItemCount(29),
|
||||
};
|
||||
|
||||
if (_msqQuests != null)
|
||||
|
Loading…
Reference in New Issue
Block a user