Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
AutomationEvent.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#
pragma
once
4
5
#
include
"CoreTypes.h"
6
#
include
"Misc/DateTime.h"
7
#
include
"Misc/Guid.h"
8
9
enum
class
EAutomationEventType
:
uint8
10
{
11
Info
,
12
Warning
,
13
Error
14
};
15
16
struct
FAutomationEvent
17
{
18
public
:
19
FAutomationEvent
(
EAutomationEventType
InType,
const
FString
& InMessage)
20
:
Type
(InType)
21
,
Message
(
InMessage
)
22
,
Context
()
23
{
24
}
25
26
FAutomationEvent
(
EAutomationEventType
InType,
const
FString
& InMessage,
const
FString
& InContext)
27
:
Type
(InType)
28
,
Message
(
InMessage
)
29
,
Context
(
InContext
)
30
{
31
}
32
33
public
:
34
35
EAutomationEventType
Type
;
36
FString
Message
;
37
FString
Context
;
38
FGuid
Artifact
;
39
};
40
41
struct
FAutomationExecutionEntry
42
{
43
FAutomationEvent
Event
;
44
FString
Filename
;
45
int32
LineNumber
;
46
FDateTime
Timestamp
;
47
48
FAutomationExecutionEntry
(
FAutomationEvent
InEvent)
49
:
Event
(
InEvent
)
50
,
Filename
()
51
,
LineNumber
(-1)
52
,
Timestamp
(
FDateTime
::
UtcNow
(
)
)
53
{
54
}
55
56
FAutomationExecutionEntry
(
FAutomationEvent
InEvent,
FString
InFilename, int32 InLineNumber)
57
:
Event
(
InEvent
)
58
,
Filename
(
InFilename
)
59
,
LineNumber
(InLineNumber)
60
,
Timestamp
(
FDateTime
::
UtcNow
(
)
)
61
{
62
}
63
64
FString
ToString
()
const
;
65
};
EAutomationEventType
EAutomationEventType
Definition
Enums.h:11562
EAutomationEventType::Warning
@ Warning
EAutomationEventType::Info
@ Info
EAutomationEventType::Error
@ Error
FString
Definition
UnrealString.h:59
FAutomationEvent
Definition
AutomationEvent.h:17
FAutomationEvent::Context
FString Context
Definition
AutomationEvent.h:37
FAutomationEvent::Message
FString Message
Definition
AutomationEvent.h:36
FAutomationEvent::FAutomationEvent
FAutomationEvent(EAutomationEventType InType, const FString &InMessage)
Definition
AutomationEvent.h:19
FAutomationEvent::FAutomationEvent
FAutomationEvent(EAutomationEventType InType, const FString &InMessage, const FString &InContext)
Definition
AutomationEvent.h:26
FAutomationEvent::Type
EAutomationEventType Type
Definition
AutomationEvent.h:35
FAutomationEvent::Artifact
FGuid Artifact
Definition
AutomationEvent.h:38
FAutomationExecutionEntry
Definition
AutomationEvent.h:42
FAutomationExecutionEntry::ToString
FString ToString() const
FAutomationExecutionEntry::Timestamp
FDateTime Timestamp
Definition
AutomationEvent.h:46
FAutomationExecutionEntry::Filename
FString Filename
Definition
AutomationEvent.h:44
FAutomationExecutionEntry::LineNumber
int32 LineNumber
Definition
AutomationEvent.h:45
FAutomationExecutionEntry::Event
FAutomationEvent Event
Definition
AutomationEvent.h:43
FAutomationExecutionEntry::FAutomationExecutionEntry
FAutomationExecutionEntry(FAutomationEvent InEvent, FString InFilename, int32 InLineNumber)
Definition
AutomationEvent.h:56
FAutomationExecutionEntry::FAutomationExecutionEntry
FAutomationExecutionEntry(FAutomationEvent InEvent)
Definition
AutomationEvent.h:48
FDateTime
Definition
DateTime.h:76
FDateTime::UtcNow
static FDateTime UtcNow()
FGuid
Definition
Guid.h:108
Downloads
ArkServerAPI_NEW
ASA
AsaApi
AsaApi
Core
Public
API
UE
Misc
AutomationEvent.h
Generated by
1.10.0