Terraria.ModLoader.PlayerHooks.OnEnterWorld C# (CSharp) Méthode

OnEnterWorld() public static méthode

public static OnEnterWorld ( int playerIndex ) : void
playerIndex int
Résultat void
        public static void OnEnterWorld(int playerIndex)
        {
            var player = Main.player[playerIndex];
            foreach (ModPlayer modPlayer in player.modPlayers)
            {
                modPlayer.OnEnterWorld(player);
            }
        }