mrbot/auto_quest/property_editors/property_editors.iss

29 lines
939 B
Plaintext

#ifndef _mr_property_editors_
#define _mr_property_editors_
#includeoptional "${LavishScript.HomeDirectory}/Scripts/mr/auto_quest/property_editors/npc_dialog_properties/editor.iss"
#includeoptional "${LavishScript.HomeDirectory}/Scripts/mr/auto_quest/property_editors/run_path_properties/editor.iss"
variable(global) NPCDialogPropertiesController MRNPCDialogPropertiesController
variable(global) RunPathPropertiesController MRRunPathPropertiesController
objectdef PropertyEditors
{
static member GetPropertyEditor( string stepType )
{
echo "PropertyEditors::GetPropertyEditor[${stepType}]"
if ${stepType.Equal["${MRNPCDialogPropertiesController.StepType}"]}
{
return MRNPCDialogPropertiesController;
}
if ${stepType.Equal["${MRRunPathPropertiesController.StepType}"]}
{
return MRRunPathPropertiesController;
}
return null;
}
}
#endif