Pluton.Player.OnPlayerDeserialized C# (CSharp) Method

OnPlayerDeserialized() private method

private OnPlayerDeserialized ( StreamingContext context ) : void
context System.Runtime.Serialization.StreamingContext
return void
        public void OnPlayerDeserialized(StreamingContext context)
        {
            Logger.LogWarning("Deserializing player with id: " + SteamID);
            _basePlayer = BasePlayer.FindByID(GameID);
            if (_basePlayer == null)
                Logger.LogWarning("_basePlayer is <null>, is the player offline?");
            else
                Logger.LogWarning("basePlayer found: " + _basePlayer.displayName);
        }