IsCallResult not used

This commit is contained in:
Garry Newman 2020-02-11 10:15:53 +00:00
parent d28ec6bd7d
commit eb9a45bbe0
2 changed files with 0 additions and 23 deletions

View File

@ -115,27 +115,6 @@ namespace Generator
}
}
//
// Find CALL_RESULTs
//
{
var r = new Regex( @"CALL_RESULT\( (.+) \)(?:.+)?\n(?:.+)virtual\s+SteamAPICall_t\s+(\w+)\(" );
var ma = r.Matches( Content );
foreach ( Match m in ma )
{
var s = def.structs.Single( x => x.Name == m.Groups[1].Value );
s.IsCallResult = true;
foreach ( var t in def.methods.Where( x => x.Name == m.Groups[2].Value ) )
{
if ( !string.IsNullOrEmpty( t.CallResult ) ) continue;
t.CallResult = s.Name;
}
}
}
//
// Find missing structs
//

View File

@ -53,8 +53,6 @@ namespace Generator
public StructFields[] Fields { get; set; }
public string CallbackId { get; set; }
public bool IsCallResult { get; set; }
public bool IsPack4OnWindows
{