Exemple #1
0
 public SubActionsHandler(PsaFile psaFile, int dataSectionLocation, CodeBlocksHandler codeBlocksHandler, PsaCommandHandler psaCommandHandler)
 {
     PsaFile             = psaFile;
     DataSectionLocation = dataSectionLocation;
     CodeBlocksHandler   = codeBlocksHandler;
     PsaCommandHandler   = psaCommandHandler;
 }
Exemple #2
0
 public CharacterParamsHandler(PsaFile psaFile, int dataSectionLocation, string movesetBaseName, PsaCommandHandler psaCommandHandler)
 {
     PsaFile             = psaFile;
     DataSectionLocation = dataSectionLocation;
     PsaCommandHandler   = psaCommandHandler;
     CharacterSpecificParametersConfig = Utils.LoadJson <CharacterSpecificParametersConfig>($"data/char_specific/{movesetBaseName}.json");
 }
Exemple #3
0
 public ActionOverridesHandler(PsaFile psaFile, int dataSectionLocation, ActionsHandler actionsParser, PsaCommandHandler psaCommandHandler)
 {
     PsaFile             = psaFile;
     DataSectionLocation = dataSectionLocation;
     PsaCommandHandler   = psaCommandHandler;
     ActionsParser       = actionsParser;
 }
Exemple #4
0
 public SubRoutinesHandler(PsaFile psaFile, int dataSectionLocation, ActionsHandler actionsParser, SubActionsHandler subActionsParser, PsaCommandHandler psaCommandHandler)
 {
     PsaFile             = psaFile;
     DataSectionLocation = dataSectionLocation;
     PsaCommandHandler   = psaCommandHandler;
     ActionsParser       = actionsParser;
     SubActionsParser    = subActionsParser;
 }
Exemple #5
0
        public List <PsaCommand> GetPsaCommandsForArticleSubAction(int articleId, int subActionId, int codeBlockId)
        {
            int articleSubActionCodeBlockLocation = GetArticleSubActionCodeBlockLocation(articleId, subActionId, codeBlockId); // i

            return(PsaCommandHandler.GetPsaCommands(articleSubActionCodeBlockLocation));
        }
Exemple #6
0
        public List <PsaCommand> GetPsaCommandsForArticleAction(int articleId, int actionId)
        {
            int articleActionCodeLocation = GetArticleActionCodeLocation(articleId, actionId);

            return(PsaCommandHandler.GetPsaCommands(articleActionCodeLocation));
        }
Exemple #7
0
 public List <PsaCommand> GetPsaCommandsForSubRoutine(int subRoutineLocation)
 {
     return(PsaCommandHandler.GetPsaCommands(subRoutineLocation));
 }
Exemple #8
0
 public CodeBlocksHandler(PsaFile psaFile, int dataSectionLocation, PsaCommandHandler psaCommandHandler)
 {
     PsaFile             = psaFile;
     DataSectionLocation = dataSectionLocation;
     PsaCommandHandler   = psaCommandHandler;
 }
Exemple #9
0
        public List <PsaCommand> GetPsaCommandsForActionOverride(int codeBlockId, int actionOverrideId)
        {
            int actionOverrideCodeBlockLocation = GetActionOverrideCodeBlockLocation(actionOverrideId, codeBlockId);

            return(PsaCommandHandler.GetPsaCommands(actionOverrideCodeBlockLocation));
        }