RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

Bittiez Utilities 0.0.3

No permission to download
What Is This?
This is a collection of Utilities/Tools that I have found useful time and time again, rather than re coding them each time I am going to keep them in this script, making them easily reusable and saving time.

If you have any suggested methods to add, please post them here!

Installation:
Put the folder inside your \Scripts\Customs\ Directory.

Usage:
Method 1:
Use
C#:
Bittiez.Tools.<The Method You Want To Use Here>
Method 2:
Place this line at the top of your script(s):
C#:
using Bittiez;
And use
C#:
Tools.<The Method You Want To Use Here>

Note: This is currently a very small amount of methods, but ill be adding to it often.




Current Methods:
This method will return a List of items at the specific location
Usage ex:
C#:
Mobile from = <Mobile here>;
List<Item> Items = Bittiez.Tools.Find_Items_At_Location(from.Location, from.Map);
This method will call a method(CallBack) after the specified delay.
Usage ex:
C#:
Start_Timer_Delayed_Call(TimeSpan.FromSeconds(1), Test)
public void Test(){
//Run some code here after 1 second
}
This will return a List of all connected players
Usage ex:
C#:
List<Mobile> Online_Players = Bittiez.Tools.List_Connected_Players();
This will write a line to the console with a specific color
Usage ex:
C#:
Bittiez.Tools.ConsoleWrite(ConsoleColor.Blue, "Some line here");
Last Updated:
This will return a List-SkillName- of all skills in the system.
EX:
C#:
List<SkillName> Skillz = Bittiez.Tools.List_All_Skills();
This will return a list of all items in a container, if Search_Sub_Containers is true, it will recursevly search all containers recursevly.
Ex:
C#:
List<Item> Items = List_Items_In_Container((BaseContainer)Mobile.Backpack, true);
Author
Bittiez
Downloads
231
Views
471
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Bittiez

Latest updates

  1. Bittiez Utilities

    -Minor fixes.
  2. Bittiez Utilities

    Added:
Top