コード例 #1
0
        internal void write(BinaryWriter writer)
        {
            writer.Write(Chapter);
            writer.Write(StartTime.ToBinary());
            writer.Write((int)Difficulty);
            writer.Write((int)Style);
            writer.Write(PlayTime);
            writer.Write(RankTurns);
            writer.Write(RankCombat);
            writer.Write(RankExp);
            writer.Write(RankCompletion);
            writer.Write(RankSurvival);
            writer.Write(Deployed);
            writer.Write(DeployedLvl);
            writer.Write(Battalion);
            writer.Write(BattalionLvl);

            writer.Write(Global.RUNNING_VERSION);

            writer.Write(GameplayStartTime.ToBinary());

            Gameplay.write(writer);

            writer.Write(UserIdentifier);
            writer.Write(DateTime.Now.ToBinary());
            writer.Write(0);
        }
コード例 #2
0
        public void write(BinaryWriter writer)
        {
            writer.Write(Instant_Move);
            writer.Write(Character_Anim_Count);
            writer.Write(Selected_Unit_Id);
            //Rng.write(writer);
            Rand.write(writer);
            Preset_Rng.write(writer);
            writer.Write(Preparations);
            writer.Write(Home_Base);
            writer.Write((int)Menu_Canto);
            writer.Write(Battler_1_Id);
            writer.Write(Battler_2_Id);
            Aoe_Targets.write(writer);
            writer.Write(Staff_User_Id);
            writer.Write(Staff_Target_Id);
            Staff_Target_Loc.write(writer);
            writer.Write(Rescuer_Id);
            writer.Write(Rescuee_Id);
            writer.Write(Item_User);
            writer.Write(Item_Used);
            writer.Write(Item_Inventory_Target);
            writer.Write(ItemPromotionId);
            ItemTargetLoc.write(writer);
            writer.Write(Shopper_Id);
            Shop_Loc.write(writer);
            writer.Write(SecretShop);
            writer.Write(In_Arena);
            writer.Write(Wager);
            writer.Write(Arena_Distance);
            writer.Write(Arena_Round);
            writer.Write(Stolen_Item);
            writer.Write(Dance_Item);
            writer.Write(Discarder_Id);
            writer.Write(SupportGainId);
            SupportGainTargets.write(writer);

            writer.Write((int)Battle_Mode);
            writer.Write(Objective_Text);
            writer.Write(Victory_Text);
            writer.Write(Loss_Text);
            Objective_Mode.write(writer);
            Loss_On_Death.write(writer);
            Ally_Loss_On_Death.write(writer);
            writer.Write((int)Difficulty_Mode);
            writer.Write((int)Style);
            Previous_Chapters.write(writer);
            writer.Write(Chapter_Id);
            PreviousChapterIds.write(writer);
            Rankings.write(writer);
            writer.Write(Total_Play_Time);
            writer.Write(Chapter_Play_Time);
            writer.Write(Chapter_Start_Time.ToBinary());
            writer.Write(GameplayStartTime.ToBinary());
            writer.Write(Deployed_Unit_Count);
            writer.Write(Deployed_Unit_Avg_Level);
            writer.Write(Chapter_Turn);
            writer.Write(Chapter_Exp_Gain);
            writer.Write(Chapter_Damage_Taken);
            writer.Write(Chapter_Deaths);
            writer.Write(Chapter_Completion);
            writer.Write(Home_Base_Background);

            SWITCHES.write(writer);
            VARIABLES.write(writer);
            //Event_Processor.write_data(writer); //Debug
        }