コード例 #1
0
        public static void Register(Store store)
        {
            store.Register <CreateVariableNodesAction>(CreateVariableNodes);
            store.Register <CreateFunctionVariableDeclarationAction>(CreateFunctionVariableDeclaration);
            store.Register <CreateFunctionParameterDeclarationAction>(CreateFunctionParameterDeclaration);
            store.Register <DuplicateFunctionVariableDeclarationsAction>(DuplicateFunctionVariableDeclarations);
            store.Register <CreateGraphVariableDeclarationAction>(CreateGraphVariableDeclaration);
            store.Register <DuplicateGraphVariableDeclarationsAction>(DuplicateGraphVariableDeclarations);
            store.Register <CreateConstantNodeAction>(CreateConstantNode);
            store.Register <CreateSystemConstantNodeAction>(CreateSystemConstantNode);
            store.Register <ReorderGraphVariableDeclarationAction>(ReorderGraphVariableDeclaration);
            store.Register <ConvertVariableNodesToConstantNodesAction>(ConvertVariableNodesToConstantNodes);
            store.Register <ConvertConstantNodesToVariableNodesAction>(ConvertConstantNodesToVariableNodes);
            store.Register <MoveVariableDeclarationAction>(MoveVariableDeclaration);
            store.Register <ItemizeVariableNodeAction>(ItemizeVariableNode);
            store.Register <ItemizeConstantNodeAction>(ItemizeConstantNode);
            store.Register <ItemizeSystemConstantNodeAction>(ItemizeSystemConstantNode);
            store.Register <ToggleLockConstantNodeAction>(ToggleLockConstantNode);

            store.Register <UpdateTypeAction>(UpdateType);
            store.Register <UpdateExposedAction>(UpdateExposed);
            store.Register <UpdateTypeRankAction>(UpdateTypeRank);
            store.Register <UpdateTooltipAction>(UpdateTooltip);
        }
コード例 #2
0
ファイル: UIReducers.cs プロジェクト: zxx2112/TankBattle
 public static void Register(Store store)
 {
     store.Register <RefreshUIAction>(RefreshUI);
     store.Register <OpenDocumentationAction>(OpenDocumentation);
 }
コード例 #3
0
 public static void Register(Store store)
 {
     store.Register <CreateGetPropertyGroupNodeAction>(CreateGetPropertyGroupNode);
     store.Register <CreateSetPropertyGroupNodeAction>(CreateSetPropertyGroupNode);
     store.Register <EditPropertyGroupNodeAction>(EditPropertyGroupNode);
 }
コード例 #4
0
 public static void Register(Store store)
 {
     store.Register <CreateGraphAssetAction>(CreateGraphAsset);
     store.Register <LoadGraphAssetAction>(LoadGraphAsset);
     store.Register <UnloadGraphAssetAction>(UnloadGraphAsset);
 }