// 不允许向 Net 组件发送网络消息 public void OnMessage(string id, IReadableBuffer data, INetHelper s) { throw new Exception("Any message to Net component is invalid"); }
public Connection(INetHelper h, NetConnection nc) { this.h = h; this.nc = nc; }
// 不允许向 Net 组件发送网络消息 public void OnMessage(string id, IReadableBuffer data, INetHelper s) { throw new Exception("Any message to Net component is invalid"); }
public Connection(INetHelper h, NetConnection nc) { this.h = h; this.nc = nc; }