StartTraceRoute/StopTraceRoute [Player Network SDK Only]
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS
platform.Supports
Android, iOS
platform.Function Definition
- Unity
- Unreal Engine
void StartTraceRoute(string id);
string StopTraceRoute();
static void StartTraceRoute(const std::string &id);
static std::string StopTraceRoute();
Input Parameters
- Unity
- Unreal Engine
Parameter | Type | Description |
---|---|---|
id | string | TraceRoute ID |
Parameter | Type | Description |
---|---|---|
id | std::string | TraceRoute ID |
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetReportService().StartTraceRoute("0");
UnionAdapterAPI.GetReportService().StopTraceRoute();
GUA_NAMESPACE::GUAReportService::StartTraceRoute("0");
GUA_NAMESPACE::GUAReportService::StopTraceRoute();