# Introduction

# Noble SDK Overview

Noble SDK is an advanced C++ game scripting development framework specifically designed for League of Legends. Noble SDK continues the philosophy of LeagueSharp, providing developers with powerful interfaces to interact with the game, enabling the creation of various assistant scripts and automation tools. As a comprehensive development framework, Noble SDK allows developers to access internal game data and execute various game operations to achieve script automation.

# Core Features

Noble SDK provides various low-level functions that enable developers to:

# Game Object Interaction

  • Hero Unit Control: Obtain and control hero units in the game, including reading properties, states, and performing various automated operations
  • Target Selection: Intelligently select the best attack target, supporting multiple selection modes and priority configurations
  • Orbwalking System: Optimize the hero's movement and attack rhythm to achieve optimal output efficiency

# Skill System

  • Skill Cast Automation: Automatically cast skills according to configuration, including single-target and area-of-effect skills
  • Skill Prediction: Predict enemy hero movement paths through advanced algorithms to improve skill hit rate
  • Combo System: Configure and execute complex skill combinations to maximize damage output

# Game Data Access

  • Game State Detection: Obtain real-time game states, including key information such as hero positions, health, mana, etc.
  • Vision System: Detect enemy vision coverage and control your team's vision placement
  • Collision System: Calculate skill collisions and evasion paths

# Drawing and User Interface

  • In-game Rendering: Render custom graphics and text in-game
  • Damage Indicators: Display estimated damage and kill notifications
  • Custom Menus: Create user-configurable script setting interfaces

# Event System

  • Event Listening: Capture and respond to various in-game events
  • Behavior Triggers: Automatically trigger predefined behaviors based on specific conditions
  • Security Mechanisms: Provide reliable exception handling and script stability guarantees

# Technical Highlights

  • High-Performance Design: C++ implementation ensures minimal performance overhead and response latency
  • Memory Safety: Optimized memory access patterns to avoid game crashes
  • Modular Architecture: Easily extensible and maintainable plugin system
  • Multi-language Support: Localized user interface supporting multiple languages

# Application Scenarios

Noble SDK is primarily used to develop the following types of scripts:

  • Champion-Specific Scripts: Automated scripts optimized for specific champions
  • Dodge Assistants: Automatically dodge dangerous enemy skills
  • Vision Assistants: Optimize in-game vision control
  • Combo Assistants: Automatically execute optimal skill combo sequences
  • Orbwalking Assistants: Optimize attack and movement rhythm

# Development Example

Here's a simple example of creating a basic script using Noble SDK:

// Initialize SDK
Noble::Init(PluginType::Champion, "Orbwalker Assistant");

// Set up event handling
EventManager::OnGameUpdate::Add([](){
    // Get current mode
    if (Orbwalker::ActiveMode() == eOrbwalkingMode::Combo) {
        // Find target
        auto target = TargetSelector::GetTarget(1000, eDamageType::Physical);
        if (target && target->IsValidTarget()) {
            // Execute combo
            ComboLogic(target);
        }
    }
});

// Combo logic
void ComboLogic(AIBaseClient* target) {
    // Get Q skill
    auto Q = ObjectManager::Player()->GetSpell(eSpellSlot::Q);
    
    // If skill is ready and in range
    if (Q && Q->IsReady() && target->Distance(ObjectManager::Player()) <= 900) {
        // Get prediction
        auto prediction = Prediction::GetPrediction(target, 0.25f, 60.f, 1600.f);
        
        // If hit chance is high enough
        if (prediction.Hitchance >= eHitChance::High) {
            // Cast skill
            Q->CastSpell(prediction.CastPosition());
        }
    }
}

# Safety and Compliance

When developing and using scripts with Noble SDK, developers should be aware of the terms of service and usage policies of the relevant games. Noble SDK itself is only a development tool, and its use should follow legal and compliant principles.


With Noble SDK, developers can fully unleash their creativity to create powerful and smooth game assistance tools that enhance gaming experience and competitive level. Whether you're a beginner or an experienced developer, you can implement your own script ideas within the flexible framework provided by Noble SDK.