Beispiel #1
0
 public SubActionsHandler(PsaFile psaFile, int dataSectionLocation, CodeBlocksHandler codeBlocksHandler, PsaCommandHandler psaCommandHandler)
 {
     PsaFile             = psaFile;
     DataSectionLocation = dataSectionLocation;
     CodeBlocksHandler   = codeBlocksHandler;
     PsaCommandHandler   = psaCommandHandler;
 }
Beispiel #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");
 }
Beispiel #3
0
 public ActionOverridesHandler(PsaFile psaFile, int dataSectionLocation, ActionsHandler actionsParser, PsaCommandHandler psaCommandHandler)
 {
     PsaFile             = psaFile;
     DataSectionLocation = dataSectionLocation;
     PsaCommandHandler   = psaCommandHandler;
     ActionsParser       = actionsParser;
 }
Beispiel #4
0
 public SubRoutinesHandler(PsaFile psaFile, int dataSectionLocation, ActionsHandler actionsParser, SubActionsHandler subActionsParser, PsaCommandHandler psaCommandHandler)
 {
     PsaFile             = psaFile;
     DataSectionLocation = dataSectionLocation;
     PsaCommandHandler   = psaCommandHandler;
     ActionsParser       = actionsParser;
     SubActionsParser    = subActionsParser;
 }
Beispiel #5
0
        public List <PsaCommand> GetPsaCommandsForArticleSubAction(int articleId, int subActionId, int codeBlockId)
        {
            int articleSubActionCodeBlockLocation = GetArticleSubActionCodeBlockLocation(articleId, subActionId, codeBlockId); // i

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

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

            return(PsaCommandHandler.GetPsaCommands(actionOverrideCodeBlockLocation));
        }