Show / Hide Table of Contents

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 Source

ID

Identifier to use for this service. This is used to track its cooldown.

Declaration
public string ID
Field Value
Type Description
System.String
| Improve this Doc View Source

Key

Key to update with the utility query.

Declaration
public string Key
Field Value
Type Description
System.String
| Improve this Doc View Source

MaxCooldown

Declaration
public float MaxCooldown
Field Value
Type Description
System.Single
| Improve this Doc View Source

MinCooldown

Declaration
public float MinCooldown
Field Value
Type Description
System.Single
| Improve this Doc View Source

Prototype

Prototype of the utility query.

Declaration
public string Prototype
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾