AdvertiseGame() public static method

set data to be replicated to friends so that they can join your game

CSteamID steamIDGameServer - the steamID of the game server, received from the game server by the client

uint32 unIPServer, uint16 usPortServer - the IP address of the game server

public static AdvertiseGame ( CSteamID steamIDGameServer, uint unIPServer, ushort usPortServer ) : void
steamIDGameServer CSteamID
unIPServer uint
usPortServer ushort
return void
Exemplo n.º 1
0
 public override void AdvertiseGame(Identity serverID, string ip, ushort port)
 {
     SteamUser.AdvertiseGame((CSteamID)(SteamIdentity)serverID, SteamworksCommon.GetUInt32FromIp(ip), port);
 }