mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-04 14:48:45 +00: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.
|
- The log categories are used to filter both the output log and the debug draw.
|
||||||
|
|
||||||
### Metric
|
### 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:
|
- The following code shows how to add a metric:
|
||||||
```cpp
|
```cpp
|
||||||
// Adding a metric
|
// Adding a metric
|
||||||
FCogDebugMetric::AddMetric(this, "Damage Dealt", Params.MitigatedDamage, Params.UnmitigatedDamage, false);
|
FCogDebugMetric::AddMetric(this, "Damage Dealt", Params.MitigatedDamage, Params.UnmitigatedDamage, false);
|
||||||
```
|
```
|
||||||
|
|
||||||

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