Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1.11 KB

usage.markdown

File metadata and controls

41 lines (35 loc) · 1.11 KB
layout order title
default
2
Usage
<script type="text/javascript"> var languages = ['java', 'php', 'ruby']; function displayCode(codeBlock, codeLanguage) { $.each(languages, function f(i, language) { var codeBlockId = '#' + codeBlock + '-' + language; var codeBlockLinkId = '#' + codeBlock + '-' + language + '-link'; if(language == codeLanguage) { $(codeBlockId).show(); $(codeBlockLinkId).addClass('language-selected'); } else { $(codeBlockId).hide(); $(codeBlockLinkId).removeClass('language-selected'); } }); } $(function() { $('#simple-query').load('{{site.baseurl}}/code/simple-query'); $('#master-query').load('{{site.baseurl}}/code/master-query'); $('#rcon').load('{{site.baseurl}}/code/rcon'); $('#community').load('{{site.baseurl}}/code/community'); }); </script>

Querying game servers

Querying master servers

Controlling game servers using RCON

Getting information from the Steam Community