mirror of
https://github.com/Ed94/Cog.git
synced 2026-06-13 08:02:23 -07:00
Update README.md
This commit is contained in:
@@ -111,14 +111,15 @@ Can be used to activate and deactivate log categories
|
||||
- The log categories are used to filter both the output log and the debug draw.
|
||||
|
||||
### Metric
|
||||
Gather various values sent by the selected actor and compte their rate per second. This is typically useful to compute the damage dealt or received per second.
|
||||
Gather various values sent by the selected actor and compte their rate per second. This is typically used to compute the damage dealt or received per second.
|
||||
|
||||

|
||||
- The following code shows how to add a metric:
|
||||
```cpp
|
||||
// Adding a metric
|
||||
FCogDebugMetric::AddMetric(this, "Damage Dealt", Params.MitigatedDamage, Params.UnmitigatedDamage, false);
|
||||
```
|
||||
|
||||

|
||||
|
||||
### Net Emulation
|
||||
Used to configure the network emulation
|
||||
|
||||
Reference in New Issue
Block a user