Show / Hide Table of Contents

Class GunAmmoPrecondition

Gets ammo for this NPC's selected gun; either active hand or itself.

Inheritance
System.Object
HTNPrecondition
GunAmmoPrecondition
Namespace: Content.Server.NPC.HTN.Preconditions
Assembly: Content.Server.dll
Syntax
public sealed class GunAmmoPrecondition : HTNPrecondition

Fields

| Improve this Doc View Source

MaxPercent

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

MinPercent

Declaration
public float MinPercent
Field Value
Type Description
System.Single

Methods

| Improve this Doc View Source

IsMet(NPCBlackboard)

Declaration
public override bool IsMet(NPCBlackboard blackboard)
Parameters
Type Name Description
NPCBlackboard blackboard
Returns
Type Description
System.Boolean
Overrides
HTNPrecondition.IsMet(NPCBlackboard)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾