steamlobby.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <HTML>
  2. <HEAD>
  3. <TITLE>Lobby2Client_Steam</TITLE>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </HEAD>
  6. <link href="RaknetManual.css" rel="stylesheet" type="text/css">
  7. <meta name="title" content="RakNet - Advanced multiplayer game networking API">
  8. </HEAD>
  9. <BODY BGCOLOR="#ffffff" LINK="#003399" vlink="#003399" alink="#003399" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"">
  10. <span style="background-color: rgb(255, 255, 255);"><img src="RakNet_Icon_Final-copy.jpg" alt="Oculus VR, Inc." width="150" height="150"></span><BR>
  11. <BR>
  12. <table width="100%" border="0"><tr>
  13. <td bgcolor="#2c5d92" class="RakNetWhiteHeader">
  14. <img src="spacer.gif" width="8" height="1">Lobby2Client_Steam Overview</td>
  15. </tr></table>
  16. <TABLE BORDER="0" CELLPADDING="10" CELLSPACING="0" WIDTH="100%"><TR>
  17. <TD>
  18. <p><span class="RakNetBlueHeader">Use Steamworks to join Lobbies, Rooms, and do NAT traversal</span></p>
  19. <p>The Lobby2Client_Steam plugin provides an interface to Steamworks services that cooperate with RakNet. This avoids the need to host your owns sever, which is otherwise required by RakNet's <a href="natpunchthrough.html">NATPunchthrough</a> and <a href="lobby.html">Lobby</a> systems.</p>
  20. <p>Dependencies:</p>
  21. <OL>
  22. <LI>Assumes the Steam SDK is located at C:\Steamworks . If not, modify the post-build step paths and linker paths accordingly.
  23. <LI>You can get the Steamworks API from https://partner.steamgames.com/ , which requires a signup and legal agreement.
  24. <LI>You need your own steam_appid.txt file. This sample just copies the one that comes with steam.
  25. </OL>
  26. <p>Operations include:</p>
  27. <UL>
  28. <LI><strong>Get the list of rooms </strong>- L2MID_Console_SearchRooms
  29. <LI><strong>Leave a room</strong> - L2MID_Console_LeaveRoom
  30. <LI><strong>Create a room</strong> - L2MID_Console_CreateRoom
  31. <LI><strong>Join a room</strong> - L2MID_Console_JoinRoom
  32. <LI><strong>Get details about a specific room</strong> - L2MID_Console_GetRoomDetails
  33. <LI><strong>Send a chat message to a room</strong> - L2MID_Console_SendRoomChatMessage
  34. <LI><strong>Get the members in a room</strong>- Lobby2Client_Steam::GetRoomMembers
  35. <LI><strong>Get notification of NAT Traversal success</strong> - SteamResults::Notification_Console_RoomMemberConnectivityUpdate
  36. </UL>
  37. <p><em>See the sample project Samples\SteamLobby for an implementation of this system.</em></p></TD>
  38. </TR></TABLE>
  39. <table width="100%" border="0"><tr><td bgcolor="#2c5d92" class="RakNetWhiteHeader">
  40. <img src="spacer.gif" width="8" height="1">See Also</td>
  41. </tr></table>
  42. <TABLE BORDER="0" CELLPADDING="10" CELLSPACING="0" WIDTH="100%"><TR><TD><p><A HREF="index.html">Index</A><br>
  43. <a href="lobby.html">Lobby</a><br>
  44. <a href="natpunchthrough.html">NATPunchthrough</a><BR>
  45. <a href="plugininterface.html">PluginInterface</a></p></TD></TR></TABLE>
  46. </BODY>
  47. </HTML>
粤ICP备19079148号