コード例 #1
0
 /// <summary>
 /// Deserialize the encounter music from within the project directory.
 /// </summary>
 /// <param name="serializer"></param>
 protected override void deserialize(ProjectDeserializer serializer)
 {
     encounterMusic = serializer.parseDefineNames(
         "TRAINER_ENCOUNTER_MUSIC_", "include", "constants", "trainers.h");
 }
コード例 #2
0
 /// <summary>
 /// Deserialize the battle AI scripts from the project directory.
 /// </summary>
 /// <param name="serializer"></param>
 protected override void deserialize(ProjectDeserializer serializer) => aiScripts = serializer.parseDefineNames("AI_SCRIPT_", "include", "constants", "battle_ai.h");