mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-28 06:28:08 +03:00
IsCallResult not used
This commit is contained in:
parent
d28ec6bd7d
commit
eb9a45bbe0
@ -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
|
// Find missing structs
|
||||||
//
|
//
|
||||||
|
@ -53,8 +53,6 @@ namespace Generator
|
|||||||
public StructFields[] Fields { get; set; }
|
public StructFields[] Fields { get; set; }
|
||||||
|
|
||||||
public string CallbackId { get; set; }
|
public string CallbackId { get; set; }
|
||||||
public bool IsCallResult { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsPack4OnWindows
|
public bool IsPack4OnWindows
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user