Declaration
public static void OnPlayerJoin(Action<ParaPlayer> callback)
Parameter
callback | Callback function for receiving notifications |
Description
The room login event of the registered listener role.
ParaNetService.OnPlayerJoin(function(player)
print(string.format("player:%d join",player.playerID));
end);