A class in Root.Township, Alta.Blacksmithing.
The set of ForgedPoint children on a forged item, synced and saved as one collection. Keeps forging progress when the item is replaced.
Constructors
| Member | What it is |
|---|
ForgedPointCollection() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Properties
1 private and internal property
| Member | What it is |
|---|
private NetworkEntity Alta.Networking.IEntityReplaceHandler.Entity { get; } | The entity this collection belongs to. |
Methods
| Member | What it is |
|---|
override void SyncAllChildren() | Syncs every point, only on a real server (not local test). |
2 private and internal methods
| Member | What it is |
|---|
private void DestroyAllEntities() | Private: destroys the NetworkEntity component on each child point. Not called in this build. |
private void Alta.Networking.IEntityReplaceHandler.ReplacedWith(NetworkEntity entity, ReplaceAvoidFlags replaceFlags) | Copies each point's progress to the matching point on the replacing item, by index. |
Used in
Members of other types that take, return or hold a ForgedPointCollection: