Skip to content

Maxwellwr/StealthSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stealth Sharp

The wrapper is intended for writing scripts for the popular Ultima Online client - Stealth. Consists of 4 packages.

Stealth Sharp

Package Description Status
StealthSharp Main package Nuget
StealthSharp.Abstract A collection of interfaces, models and enums Nuget
StealthSharp.Network Networking Nuget
StealthSharp.Serialization Implementing Stealth serialization Nuget

Installation

dotnet add package StealthSharp

Usage

Simple usage with default settings

IServiceCollection serviceCollection = new ServiceCollection();
serviceCollection.AddStealthSharp();
var provider = serviceCollection.BuildServiceProvider();

var stealth = provider.GetRequiredService<Stealth>();
await stealth.ConnectToStealthAsync();

For configuration you can use the following code

serviceCollection.Configure<StealthOptions>(opt =>
    {
        opt.Host = "127.0.0.1";
        opt.Port = 47602;
    })

All Stealth functionality is divided into the following groups

Base - Available directly from the object Stealth

Group Access Context
Connection stealth.Connection Game server connection management
Client stealth.Client Game client window management
Journal stealth.Journal Working with the journal
Search stealth.Search Search game objects
Game Object stealth.GameObject Interact with objects
Move Item stealth.MoveItem Various item movement
Move Character stealth.Move Moving a character around the world
Targets stealth.Target Target management
Character stealth.Char Character stats
Attack stealth.Attack War management
Dress layers stealth.Layer Dress and equip
Menu stealth.Menu Working with menu
Gumps stealth.Gump Working with gump
Skills and Spells stealth.SkillSpell Using and managing skills and spells

Advanced - Available through stealth.GetStealthService<T>()

Group Access Context
Event System stealth.GetStealthService<IEventSystemService>() Event management
Context Menu stealth.GetStealthService<IContextMenuService>() Working with context menu
Gesture stealth.GetStealthService<IGestureService>() Gestures
Global Chat stealth.GetStealthService<IGlobalChatService>() Global chat
Global Stealth Vars stealth.GetStealthService<IGlobalService>() Managing global variables
Info window stealth.GetStealthService<IInfoWindowService>() Using Stealth info window
Map stealth.GetStealthService<IMapService>() Draw on map
Market stealth.GetStealthService<IMarketService>() AutoBuy and AutoSell
Party stealth.GetStealthService<IPartyService>() Party management
Reagents stealth.GetStealthService<IReagentService>() Count regs in Backpack
Stealth stealth.GetStealthService<IStealthService>() Stealth management
Tiles stealth.GetStealthService<ITileService>() Tiles
Trade stealth.GetStealthService<ITradeService>() Trading

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages