Move message related files to messaging directory

This commit is contained in:
Ricardo Lopes 2020-02-13 21:53:38 +01:00
parent ef632e5ed0
commit 50ff20a557
3 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ namespace QSB {
protected abstract short type { get; }
public MessageHandler () {
NetworkServer.RegisterHandler(SectorMessage.Type, OnServerReceiveMessage);
NetworkManager.singleton.client.RegisterHandler(SectorMessage.Type, OnClientReceiveMessage);
NetworkServer.RegisterHandler(MessageType.Sector, OnServerReceiveMessage);
NetworkManager.singleton.client.RegisterHandler(MessageType.Sector, OnClientReceiveMessage);
}
protected abstract void OnClientReceiveMessage (NetworkMessage netMsg);