1
0
mirror of synced 2025-01-31 04:13:51 +01:00

Many more aamp fixes

This commit is contained in:
KillzXGaming 2019-05-08 19:33:49 -04:00
parent b4e37f7368
commit ab1a1ab169
9 changed files with 5 additions and 4 deletions

View File

@ -112,7 +112,7 @@ namespace FirstPlugin.Forms
case ParamType.String32:
case ParamType.String256:
case ParamType.StringRef:
ValueText = $"{(string)entry.Value}";
ValueText = $"{((AampCommon.StringEntry)entry.Value).ToString()}";
break;
case ParamType.Vector2F:
var vec2 = (Vector2F)entry.Value;

View File

@ -113,7 +113,8 @@ namespace FirstPlugin.Forms
case ParamType.String32:
case ParamType.String256:
case ParamType.StringRef:
ValueText = $"{(string)entry.Value}";
ValueText = $"{((AampCommon.StringEntry)entry.Value).ToString()}";
break;
case ParamType.Vector2F:
var vec2 = (Vector2F)entry.Value;

View File

@ -171,7 +171,7 @@ namespace FirstPlugin.Forms
case ParamType.String32:
case ParamType.String256:
case ParamType.StringRef:
paramEntry.Value = dataTB.Text;
paramEntry.Value = new AampCommon.StringEntry(dataTB.Text);
break;
}
}
@ -254,7 +254,7 @@ namespace FirstPlugin.Forms
case AampV2Library.ParamType.String32:
case AampV2Library.ParamType.String256:
case AampV2Library.ParamType.StringRef:
paramEntryV2.Value = dataTB.Text;
paramEntryV2.Value = new AampCommon.StringEntry(dataTB.Text);
break;
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.