Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UserInfo GetUser(uint id)
- {
- if (users.Exists(x => x.uid == id))
- {
- return users.Find(x => x.uid == id);
- }
- else
- {
- users.Add(new UserInfo(id));
- return users.Last();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement