Skip to content

Commit 458d8af

Browse files
committed
remove EX_ from expression inst
1 parent 3ec1798 commit 458d8af

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

UAssetAPI/Kismet/Bytecode/KismetExpression.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@ public class KismetExpression
1313
/// </summary>
1414
public virtual EExprToken Token { get { return EExprToken.EX_Nothing; } }
1515

16+
/// <summary>
17+
/// The token of this instruction expressed as a string.
18+
/// </summary>
19+
public string Inst { get { return Token.ToString().Substring(3, Token.ToString().Length - 3); } }
20+
1621
/// <summary>
1722
/// An optional tag which can be set on any expression in memory. This is for the user only, and has no bearing in the API itself.
1823
/// </summary>
1924
public object Tag;
20-
public string Inst { get { return Token.ToString(); } }
25+
2126
public object RawValue;
2227

2328
public void SetObject(object value)

0 commit comments

Comments
 (0)