Skip to content

Commit

Permalink
getBots
Browse files Browse the repository at this point in the history
  • Loading branch information
emist committed Sep 14, 2011
1 parent 07c6735 commit a07fb15
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Singleton/BotFetcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ public static Bot fetch(uint pid)

}

/// <summary>
/// Return a reference to the bot list- Not thread safe
/// </summary>
/// <returns>the bot list</returns>
public static List<Bot> getBots()
{
return bots;
}

/// <summary>
/// Registers a bot with the singleton
/// </summary>
Expand Down

0 comments on commit a07fb15

Please sign in to comment.