port(m1): wave 7j — Material/Plane/Socket overloads + IDictionary extension (24->12)

- Material.SetVector(int nameID, Vector4); Plane(Vector3, float d) ctor; Socket.On
  (SocketIOEventTypes, callback) overload.
- Global GetValueOrDefault(this IDictionary<,>) extension — the BCL form only binds to
  IReadOnlyDictionary, so the IDictionary call mis-resolved to JsonDataExtension.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-06 01:00:12 -04:00
parent ad58994b8e
commit f63d1cc2e2
3 changed files with 13 additions and 1 deletions

View File

@@ -142,6 +142,7 @@ namespace BestHTTP.SocketIO
{
public string Id => "";
public Socket On(string eventName, SocketIOCallback callback) => this;
public Socket On(BestHTTP.SocketIO.SocketIOEventTypes type, SocketIOCallback callback) => this;
public Socket Off(string eventName) => this;
public Socket Off() => this;
public Socket Emit(string eventName, params object[] args) => this;