XTNHXKSQ4PQS6CN3ATENRI7JUXU7DYZMRW4PBSEABN4S4VQHFUMAC
public override string ShortName => "Context Set";
public override string ShortName {
get {
var resourceName = Resource.Type == null ? "*" : Resource.Type.Name;
var registerName = Register.Type == null ? "*" : Register.Type.Name;
return new($"Context.Set.{resourceName}.{registerName}");
}
}
public override string ShortName => "Context Get";
public override string ShortName {
get {
var resourceName = Resource.Type == null ? "*" : Resource.Type.Name;
var registerName = Register.Type == null ? "*" : Register.Type.Name;
return new($"Context.Get.{resourceName}.{registerName}");
}
}
foreach (var type in TypeCache.GetTypesDerivedFrom(typeof(SingleGetterStep))) {
e.menu.AppendAction($"Create [{type.Name}]", action => AddNode(type, action.eventInfo.mousePosition));
foreach (var type in TypeCache.GetTypesDerivedFrom(typeof(IGetterStep))) {
e.menu.AppendAction($"Get/{type.Name}", action => AddNode(type, action.eventInfo.mousePosition));
foreach (var type in TypeCache.GetTypesDerivedFrom(typeof(SequenceGetterStep))) {
e.menu.AppendAction($"Create [{type.Name}]", action => AddNode(type, action.eventInfo.mousePosition));
foreach (var type in TypeCache.GetTypesDerivedFrom(typeof(IOperatorStep))) {
e.menu.AppendAction($"Operator/{type.Name}", action => AddNode(type, action.eventInfo.mousePosition));
foreach (var type in TypeCache.GetTypesDerivedFrom(typeof(SetterNode))) {
e.menu.AppendAction($"Create [{type.Name}]", action => AddNode(type, action.eventInfo.mousePosition));
foreach (var type in TypeCache.GetTypesDerivedFrom(typeof(ISetterStep))) {
e.menu.AppendAction($"Set/{type.Name}", action => AddNode(type, action.eventInfo.mousePosition));
_runeEffects.itemsSource = _selectedRuneRef.RuneEffects;
_runeEffects.RefreshItems();
_selectedRuneEffect = _runeEffects.selectedItem as RuneEffect;
if (SelectedRuneRef != null) {
_runeEffects.itemsSource = SelectedRuneRef.RuneEffects;
_runeEffects.RefreshItems();
_selectedRuneEffect = _runeEffects.selectedItem as RuneEffect;
if (_selectedRuneEffect == null && SelectedRuneRef.RuneEffects.Count > 0) {
_runeEffects.SetSelection(0);
_selectedRuneEffect = _runeEffects.selectedItem as RuneEffect;
}
}