C# Class Sharpcraft.Steam.SteamMinecraftDataEventArgs

SteamMinecraftDataEventArgs class used to send updated Minecraft Data to event listeners.
Inheritance: System.EventArgs
Show file Open project: SijmenSchoon/Sharpcraft Class Usage Examples

Public Methods

Method Description
SteamMinecraftDataEventArgs ( string name, string address, short port, int players, int maxPlayers ) : System

Initialze a new instance of SteamMinecraftDataEventArgs.

Method Details

SteamMinecraftDataEventArgs() public method

Initialze a new instance of SteamMinecraftDataEventArgs.
public SteamMinecraftDataEventArgs ( string name, string address, short port, int players, int maxPlayers ) : System
name string Name of the server.
address string Address of the server.
port short Port of the server.
players int Current number of players on the server.
maxPlayers int Max number of players the server can hold.
return System