Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ChromaCondition.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
ReLogic.Peripherals.RGB
;
4
5
public
abstract
class
ChromaCondition
6
{
7
public
class
Custom
:
ChromaCondition
8
{
9
private
Func<bool>
_condition
;
10
11
public
Custom
(Func<bool> condition)
12
{
13
_condition
= condition;
14
}
15
16
public
override
bool
IsActive
()
17
{
18
return
_condition
();
19
}
20
}
21
22
public
abstract
bool
IsActive
();
23
}
ReLogic.Peripherals.RGB.ChromaCondition.Custom.IsActive
override bool IsActive()
Definition
ChromaCondition.cs:16
ReLogic.Peripherals.RGB.ChromaCondition.Custom._condition
Func< bool > _condition
Definition
ChromaCondition.cs:9
ReLogic.Peripherals.RGB.ChromaCondition.Custom.Custom
Custom(Func< bool > condition)
Definition
ChromaCondition.cs:11
ReLogic.Peripherals.RGB.ChromaCondition.Custom
Definition
ChromaCondition.cs:8
ReLogic.Peripherals.RGB.ChromaCondition.IsActive
bool IsActive()
ReLogic.Peripherals.RGB.ChromaCondition
Definition
ChromaCondition.cs:6
ReLogic.Peripherals.RGB
Definition
CorsairAccessMode.cs:1
System
Definition
BlockingCollection.cs:8
source
ReLogic
ReLogic.Peripherals.RGB
ChromaCondition.cs
Generated by
1.10.0