mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
Move message related files to messaging directory
This commit is contained in:
parent
ef632e5ed0
commit
50ff20a557
@ -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);
|
Loading…
Reference in New Issue
Block a user