Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.57 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Steam4NET;
  6.  
  7. namespace Libraries
  8. {
  9.     class Steam
  10.     {
  11.         Interface I;
  12.  
  13.         public Steam(Interface I)
  14.         {
  15.             this.I = I;
  16.  
  17.             I.L.DoString("steam = {}");
  18.  
  19.             I.L.RegisterFunction("steam.AddFriendByName", this, this.GetType().GetMethod("AddFriendByName"));
  20.         }
  21.  
  22.         ISteamFriends001 friends;
  23.  
  24.         public void AddFriendByName(string name)
  25.         {
  26.             friends.AddFriendByName(name);
  27.         }
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement