mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Added Obsoleted Methods (#590)
This commit is contained in:
parent
dc0b8d406a
commit
ab668962d1
@ -650,11 +650,23 @@ public virtual void OnServerReady(NetworkConnection conn)
|
||||
NetworkServer.SetClientReady(conn);
|
||||
}
|
||||
|
||||
[Obsolete("Use OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage) instead")]
|
||||
public virtual void OnServerAddPlayer(NetworkConnection conn, NetworkMessage extraMessage)
|
||||
{
|
||||
OnServerAddPlayerInternal(conn);
|
||||
}
|
||||
|
||||
public virtual void OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage)
|
||||
{
|
||||
OnServerAddPlayerInternal(conn);
|
||||
}
|
||||
|
||||
[Obsolete("Use OnServerAddPlayer(NetworkConnection conn, AddPlayerMessage extraMessage) instead")]
|
||||
public virtual void OnServerAddPlayer(NetworkConnection conn)
|
||||
{
|
||||
OnServerAddPlayerInternal(conn);
|
||||
}
|
||||
|
||||
void OnServerAddPlayerInternal(NetworkConnection conn)
|
||||
{
|
||||
if (playerPrefab == null)
|
||||
|
Loading…
Reference in New Issue
Block a user