#include <CombatDebug.h>
◆ AreAllCharacterClassesEnabled()
| bool FCombatDebug::AreAllCharacterClassesEnabled |
( |
| ) |
|
|
static |
97{
99}
static bool bAllCharacterClassesEnabled
Definition CombatDebug.h:28
◆ ClearCharacterClassFilter()
| void FCombatDebug::ClearCharacterClassFilter |
( |
| ) |
|
|
static |
138{
141}
static TSet< TWeakObjectPtr< UClass > > SelectedCharacterClasses
Definition CombatDebug.h:29
◆ IsCharacterClassSelected()
| bool FCombatDebug::IsCharacterClassSelected |
( |
UClass * |
CharacterClass | ) |
|
|
static |
109{
110 if (IsValid(CharacterClass) == false)
111 {
112 return false;
113 }
114
116}
◆ IsCombatTraceEnabled()
| bool FCombatDebug::IsCombatTraceEnabled |
( |
| ) |
|
|
static |
61{
62#if ENABLE_DRAW_DEBUG
63 return CVarCombatTraceDebug.GetValueOnGameThread() > 0;
64#else
65 return false;
66#endif
67}
◆ IsKnockbackEnabled()
| bool FCombatDebug::IsKnockbackEnabled |
( |
| ) |
|
|
static |
79{
80#if ENABLE_DRAW_DEBUG
81 return CVarKnockbackDebug.GetValueOnGameThread() > 0;
82#else
83 return false;
84#endif
85}
◆ MatchesCharacterClassFilter()
| bool FCombatDebug::MatchesCharacterClassFilter |
( |
const AActor * |
Actor | ) |
|
|
staticprivate |
145{
147 {
148 return true;
149 }
150
151 if (IsValid(Actor) == false)
152 {
153 return false;
154 }
155
157 {
158 if (CharacterClass.IsValid() && Actor->IsA(CharacterClass.Get()))
159 {
160 return true;
161 }
162 }
163
164 return false;
165}
◆ SetAllCharacterClassesEnabled()
| void FCombatDebug::SetAllCharacterClassesEnabled |
( |
bool |
bEnabled | ) |
|
|
static |
◆ SetCharacterClassSelected()
| void FCombatDebug::SetCharacterClassSelected |
( |
UClass * |
CharacterClass, |
|
|
bool |
bSelected |
|
) |
| |
|
static |
120{
121 if (IsValid(CharacterClass) == false)
122 {
123 return;
124 }
125
126 if (bSelected)
127 {
129 }
130 else
131 {
133 }
134}
◆ SetCombatTraceEnabled()
| void FCombatDebug::SetCombatTraceEnabled |
( |
bool |
bEnabled | ) |
|
|
static |
71{
72#if ENABLE_DRAW_DEBUG
73 CVarCombatTraceDebug->Set(bEnabled ? 1 : 0, ECVF_SetByCode);
74#endif
75}
◆ SetKnockbackEnabled()
| void FCombatDebug::SetKnockbackEnabled |
( |
bool |
bEnabled | ) |
|
|
static |
89{
90#if ENABLE_DRAW_DEBUG
91 CVarKnockbackDebug->Set(bEnabled ? 1 : 0, ECVF_SetByCode);
92#endif
93}
◆ ShouldDrawCombatTrace()
| bool FCombatDebug::ShouldDrawCombatTrace |
( |
const AActor * |
SourceActor | ) |
|
|
static |
31{
32#if ENABLE_DRAW_DEBUG
34 {
35 return false;
36 }
37
39#else
40 return false;
41#endif
42}
static bool IsCombatTraceEnabled()
Definition CombatDebug.cpp:60
static bool MatchesCharacterClassFilter(const AActor *Actor)
Definition CombatDebug.cpp:144
◆ ShouldDrawKnockback()
| bool FCombatDebug::ShouldDrawKnockback |
( |
const AActor * |
TargetActor | ) |
|
|
static |
46{
47#if ENABLE_DRAW_DEBUG
49 {
50 return false;
51 }
52
54#else
55 return false;
56#endif
57}
static bool IsKnockbackEnabled()
Definition CombatDebug.cpp:78
◆ bAllCharacterClassesEnabled
| bool FCombatDebug::bAllCharacterClassesEnabled = true |
|
staticprivate |
◆ SelectedCharacterClasses
| TSet< TWeakObjectPtr< UClass > > FCombatDebug::SelectedCharacterClasses |
|
staticprivate |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: