mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 12:46:36 +08:00
14 lines
400 B
TypeScript
14 lines
400 B
TypeScript
// Type definitions for steam
|
|
// Project: https://github.com/seishun/node-steam
|
|
// Definitions by: Andrey Kurdyumov <https://github.com/kant2002>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
import Steam = require("steam");
|
|
|
|
var bot = new Steam.SteamClient();
|
|
bot.logOn({
|
|
accountName: 'username',
|
|
password: 'password'
|
|
});
|
|
bot.on('loggedOn', function () { /* ... */ });
|