|
|
@ -20,6 +20,7 @@ namespace Multiplayer |
|
|
|
private void RegisterHandlers() |
|
|
|
{ |
|
|
|
ServerManager.Server.RegisterHandler(PlayerMsgID.Position, RecievePosition); |
|
|
|
ServerManager.Server.RegisterHandler(PlayerMsgID.QueryPosition, QueryPosition); |
|
|
|
} |
|
|
|
|
|
|
|
private void RecievePosition(NetworkMessage msg) |
|
|
|