@@ -28,7 +28,7 @@ export function getToolboxCategory(subcategories: toolboxItems.Category[] = []):
2828 { "kind" : "block" , "type" : "mrc_set_python_variable" , "extraState" : { "varKind" : "instance" , "moduleOrClassName" : "hal.MatchInfo" , "varType" : "int" , "importModule" : "" , "selfLabel" : "matchInfo" , "selfType" : "hal.MatchInfo" } , "fields" : { "MODULE_OR_CLASS" : "hal.MatchInfo" , "VAR" : "replayNumber" } , "inputs" : { "SELF" : { "block" : { "type" : "variables_get" , "fields" : { "VAR" : { "name" : "myMatchInfo" } } } } } } ,
2929 { "kind" : "block" , "type" : "mrc_get_python_variable" , "extraState" : { "varKind" : "instance" , "moduleOrClassName" : "hal.MatchInfo" , "varType" : "hal._wpiHal.MatchType" , "importModule" : "" , "selfLabel" : "matchInfo" , "selfType" : "hal.MatchInfo" } , "fields" : { "MODULE_OR_CLASS" : "hal.MatchInfo" , "VAR" : "matchType" } , "inputs" : { "SELF" : { "block" : { "type" : "variables_get" , "fields" : { "VAR" : { "name" : "myMatchInfo" } } } } } } ,
3030 { "kind" : "block" , "type" : "mrc_set_python_variable" , "extraState" : { "varKind" : "instance" , "moduleOrClassName" : "hal.MatchInfo" , "varType" : "hal._wpiHal.MatchType" , "importModule" : "" , "selfLabel" : "matchInfo" , "selfType" : "hal.MatchInfo" } , "fields" : { "MODULE_OR_CLASS" : "hal.MatchInfo" , "VAR" : "matchType" } , "inputs" : { "VALUE" : { "block" : { "type" : "variables_get" , "fields" : { "VAR" : { "name" : "myMatchType" } } } } , "SELF" : { "block" : { "type" : "variables_get" , "fields" : { "VAR" : { "name" : "myMatchInfo" } } } } } } ,
31- { "kind" : "block" , "type" : "variables_set" , "fields" : { "VAR" : { "name" : "myMatchInfo" } } , "inputs" : { "VALUE" : { "block" : { "kind" : "block" , "type" : "mrc_call_python_function" , "extraState" : { "functionKind" : "constructor" , "returnType" : "hal._wpiHal. MatchInfo" , "args" : [ ] , "tooltip" : "" , "importModule" : "hal" } , "fields" : { "MODULE_OR_CLASS" : "hal.MatchInfo" } } } } } ,
31+ { "kind" : "block" , "type" : "variables_set" , "fields" : { "VAR" : { "name" : "myMatchInfo" } } , "inputs" : { "VALUE" : { "block" : { "kind" : "block" , "type" : "mrc_call_python_function" , "extraState" : { "functionKind" : "constructor" , "returnType" : "hal.MatchInfo" , "args" : [ ] , "tooltip" : "" , "importModule" : "hal" } , "fields" : { "MODULE_OR_CLASS" : "hal.MatchInfo" } } } } } ,
3232 ] ;
3333
3434 contents . push ( ...subcategories ) ;
0 commit comments