A save class containing a list of InstructionSaves.
        public static InstructionBlueprintListSave FromInstructionBlueprintList(InstructionBlueprintList InstructionBlueprintList){
            InstructionBlueprintListSave itls = new InstructionBlueprintListSave();

            foreach (InstructionBlueprint template in InstructionBlueprintList)
            {
                itls.Instructions.Add(InstructionSave.FromInstructionBlueprint(template));
            }

            return itls;
        }
Пример #2
0
        public static InstructionBlueprintListSave FromInstructionBlueprintList(InstructionBlueprintList InstructionBlueprintList)
        {
            InstructionBlueprintListSave itls = new InstructionBlueprintListSave();

            foreach (InstructionBlueprint template in InstructionBlueprintList)
            {
                itls.Instructions.Add(InstructionSave.FromInstructionBlueprint(template));
            }

            return(itls);
        }