Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Steam4NET;
- namespace Libraries
- {
- class Steam
- {
- Interface I;
- public Steam(Interface I)
- {
- this.I = I;
- I.L.DoString("steam = {}");
- I.L.RegisterFunction("steam.AddFriendByName", this, this.GetType().GetMethod("AddFriendByName"));
- }
- ISteamFriends001 friends;
- public void AddFriendByName(string name)
- {
- friends.AddFriendByName(name);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement