Class: EntityLimits

EntityLimits()

new EntityLimits()

Source:

Members

Schema

Source:

changers

Source:

changers[undefined]

Source:

changers[undefined][undefined]

Source:

classCount

Source:

classCount[undefined]

Source:

classCount[undefined]

Source:

count

Source:

count[undefined]

Source:

count[undefined]

Source:

limit

Source:

limit[undefined]

Source:

limit[undefined]

Source:

limit[undefined]

Source:

limit[undefined]

Source:

matchTemplateCount

Source:

matchTemplateCount[undefined]

Source:

matchTemplateCount[undefined]

Source:

removedLimit

Source:

removedLimit[undefined]

Source:

removedLimit[undefined]

Source:

removers

Source:

removers[undefined]

Source:

removers[undefined][undefined]

Source:

Methods

AllowedToBuild()

Source:

AllowedToCreate()

Source:

AllowedToReplace(ent, template) → {boolean}

Parameters:
Name Type Description
ent number id of the entity which would be replaced.
template string name of the new template.
Source:
Returns:
- whether we can replace ent.
Type
boolean

AllowedToTrain()

Source:

ChangeCount()

Source:

ChangeMatchCount()

Source:

GetCounts()

Source:

GetLimitChangers()

Source:

GetLimits()

Source:

GetMatchCounts()

Source:

Init()

Source:

NotifyLimit()

Source:

OnGlobalOwnershipChanged()

Source:

UpdateLimitRemoval()

Source:

UpdateLimitsFromTech()

Source: