Class UtilityService
Utility queries that run regularly to update an NPC without re-doing their thinking logic.
Inheritance
System.Object
UtilityService
Namespace: Content.Server.NPC.Queries
Assembly: Content.Server.dll
Syntax
public sealed class UtilityService : object
Fields
| Improve this Doc View SourceID
Identifier to use for this service. This is used to track its cooldown.
Declaration
public string ID
Field Value
Type | Description |
---|---|
System.String |
Key
Key to update with the utility query.
Declaration
public string Key
Field Value
Type | Description |
---|---|
System.String |
MaxCooldown
Declaration
public float MaxCooldown
Field Value
Type | Description |
---|---|
System.Single |
MinCooldown
Declaration
public float MinCooldown
Field Value
Type | Description |
---|---|
System.Single |
Prototype
Prototype of the utility query.
Declaration
public string Prototype
Field Value
Type | Description |
---|---|
System.String |