You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
litenetlib has change INetEventListener from 0.7.7.3 to 0.9.5.2
it lead teamscreen on network/BaseListener
in previous BaseListener
public event EventHandler<NetDataReader> OnReceive; ... public virtual void OnNetworkReceive(NetPeer peer, NetDataReader reader) { if (OnReceive != null) OnReceive(this, reader); }
Now to code forced to
public event EventHandler<NetPacketReader > OnReceive; .... public virtual void OnNetworkReceive(NetPeer peer, NetPacketReader reader, DeliveryMethod deliveryMethod) { if (OnReceive != null) OnReceive(this, reader); } public void OnConnectionRequest(ConnectionRequest request) { request.AcceptIfKey("somekey"); } }
i stuck here, they changes NetDataReader to NetPacketReader .
i dont know how to solve this. it makes client cant connect to host.
hello,
would u update to new version of litenetlib, i have try, but i fail. can not connect each other.
The text was updated successfully, but these errors were encountered: