refactor(hosting): drop CallScript/OnStub from IHost (now trace events)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -8,11 +8,9 @@ using Age.Engine.Model;
|
||||
/// provider for synthetic call-script targets.</summary>
|
||||
internal sealed class RecordingHost : IHost
|
||||
{
|
||||
public int Waits, CallScripts;
|
||||
public int Waits;
|
||||
public readonly List<(int Offset, string Text)> Lines = new();
|
||||
public void ShowText(int offset, string text) => Lines.Add((offset, text));
|
||||
public void CallScript(long id) => CallScripts++;
|
||||
public void OnStub(int opcode) { }
|
||||
public void WaitForInput() => Waits++;
|
||||
public void CreateTexture(int slot, int w, int h) { }
|
||||
public void SetTexture(long resId, int slot) { }
|
||||
|
||||
Reference in New Issue
Block a user