Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SaveToWorld()

void Terraria.GameContent.Creative.CreativePowerManager.SaveToWorld ( BinaryWriter writer)
inline

Definition at line 124 of file CreativePowerManager.cs.

125 {
127 {
128 if (item.Value is IPersistentPerWorldContent persistentPerWorldContent)
129 {
130 writer.Write(value: true);
131 writer.Write(item.Key);
132 persistentPerWorldContent.Save(writer);
133 }
134 }
135 writer.Write(value: false);
136 }
Dictionary< ushort, ICreativePower > _powersById

References Terraria.GameContent.Creative.CreativePowerManager._powersById.