new EntityLimits()
- Source:
Methods
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