public void LoadActorPacks(SavedActorPacks packs) { foreach (SavedActorPack actorPack in packs.actorPacks) { actorPacks[actorPack.workshopId] = actorPack; } }
public SavedActorPacks GetActorPacks() { SavedActorPacks packs = new SavedActorPacks(); foreach (var entry in actorPacks) { packs.actorPacks.Add(entry.Value); } return(packs); }