Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
NoopCounter.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
7
/** Fake Thread safe counter, used to avoid cluttering code with ifdefs when counters are only used for debugging. */
8
class
FNoopCounter
9
{
10
public
:
11
12
FNoopCounter
() { }
13
FNoopCounter
(
const
FNoopCounter
& Other ) { }
14
FNoopCounter
( int32 Value ) { }
15
16
int32
Increment
()
17
{
18
return
0;
19
}
20
21
int32
Add
( int32 Amount )
22
{
23
return
0;
24
}
25
26
int32
Decrement
()
27
{
28
return
0;
29
}
30
31
int32
Subtract
( int32 Amount )
32
{
33
return
0;
34
}
35
36
int32
Set
( int32 Value )
37
{
38
return
0;
39
}
40
41
int32
Reset
()
42
{
43
return
0;
44
}
45
46
int32
GetValue
()
const
47
{
48
return
0;
49
}
50
};
FNoopCounter
Definition
NoopCounter.h:9
FNoopCounter::Decrement
int32 Decrement()
Definition
NoopCounter.h:26
FNoopCounter::GetValue
int32 GetValue() const
Definition
NoopCounter.h:46
FNoopCounter::FNoopCounter
FNoopCounter(int32 Value)
Definition
NoopCounter.h:14
FNoopCounter::FNoopCounter
FNoopCounter()
Definition
NoopCounter.h:12
FNoopCounter::FNoopCounter
FNoopCounter(const FNoopCounter &Other)
Definition
NoopCounter.h:13
FNoopCounter::Subtract
int32 Subtract(int32 Amount)
Definition
NoopCounter.h:31
FNoopCounter::Add
int32 Add(int32 Amount)
Definition
NoopCounter.h:21
FNoopCounter::Set
int32 Set(int32 Value)
Definition
NoopCounter.h:36
FNoopCounter::Increment
int32 Increment()
Definition
NoopCounter.h:16
FNoopCounter::Reset
int32 Reset()
Definition
NoopCounter.h:41
Downloads
ArkServerAPI_NEW
ASA
AsaApi
AsaApi
Core
Public
API
UE
Misc
NoopCounter.h
Generated by
1.10.0