Search Results for

    Show / Hide Table of Contents

    Class AIBaseClient

    Client specifically for all base objects.

    Inheritance
    System.Object
    GameObjectBase
    AIBaseClient
    AIHeroClient
    AIMinionClient
    AIMissileClient
    AIPlacementClient
    Inhibitor
    Nexus
    Turret
    Inherited Members
    GameObjectBase.ToString()
    GameObjectBase.As<T>()
    GameObjectBase.Log()
    GameObjectBase.IsObject(ObjectTypeFlag)
    GameObjectBase.IsMe
    GameObjectBase.IsAlly
    GameObjectBase.OnMyTeam
    GameObjectBase.IsEnemy
    GameObjectBase.IsNeutral
    GameObjectBase.IsJungle
    GameObjectBase.HealthPercent
    GameObjectBase.IsBasicAttacking
    GameObjectBase.IsTargetDummy
    GameObjectBase.PredictHealth(Int32)
    GameObjectBase.AttackSpeed
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Oasys.Common.GameObject.Clients
    Assembly: Oasys.Common.dll
    Syntax
    public class AIBaseClient : GameObjectBase

    Constructors

    AIBaseClient(Int32)

    Declaration
    public AIBaseClient(int handlePointer)
    Parameters
    Type Name Description
    System.Int32 handlePointer

    AIBaseClient(Int32, Single)

    Declaration
    public AIBaseClient(int handlePointer, float gameTime)
    Parameters
    Type Name Description
    System.Int32 handlePointer
    System.Single gameTime

    Properties

    AIManager

    Gets the navigation manager.

    Declaration
    public override AIManager AIManager { get; }
    Property Value
    Type Description
    AIManager
    Overrides
    GameObjectBase.AIManager

    Armor

    Gets the armor.

    Declaration
    public override float Armor { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.Armor

    AttackRange

    Gets the attack range in 100th teemos.

    Declaration
    public override float AttackRange { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.AttackRange

    BaseObjectTypesAssociated

    Gets the base object types the object is associated with.

    Declaration
    public List<ObjectTypeFlag> BaseObjectTypesAssociated { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ObjectTypeFlag>

    BasicAttackInfo

    Gets the information about the basic attack.

    Declaration
    public override SpellClassData BasicAttackInfo { get; }
    Property Value
    Type Description
    SpellClassData
    Overrides
    GameObjectBase.BasicAttackInfo

    BuffManager

    Gets the manager for the buffs.

    Declaration
    public override BuffManager BuffManager { get; }
    Property Value
    Type Description
    BuffManager
    Overrides
    GameObjectBase.BuffManager

    CombatType

    Gets the combat type.

    Declaration
    public override CombatTypes CombatType { get; }
    Property Value
    Type Description
    CombatTypes
    Overrides
    GameObjectBase.CombatType

    Direction

    Gets the direction it is facing towards/at.

    Declaration
    public override Vector3 Direction { get; }
    Property Value
    Type Description
    SharpDX.Vector3
    Overrides
    GameObjectBase.Direction

    Distance

    Gets the distance between the player.

    Declaration
    public override float Distance { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.Distance

    EffectiveArmorHealth

    Gets the health with armor.

    Declaration
    public override float EffectiveArmorHealth { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.EffectiveArmorHealth

    EffectiveMagicHealth

    Gets the health with magic resist.

    Declaration
    public override float EffectiveMagicHealth { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.EffectiveMagicHealth

    EncryptedID

    Gets the encryped server Object ID.

    Declaration
    public override int EncryptedID { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    GameObjectBase.EncryptedID

    Gold

    Gets the amount of gold it has.

    Declaration
    public override float Gold { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.Gold

    Health

    Gets the health.

    Declaration
    public override float Health { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.Health

    HealthBarScreenPosition

    Gets the position of the health on the screen.

    Declaration
    public override Vector2 HealthBarScreenPosition { get; }
    Property Value
    Type Description
    SharpDX.Vector2
    Overrides
    GameObjectBase.HealthBarScreenPosition

    Index

    Gets the index within the object manager.

    Declaration
    public override short Index { get; }
    Property Value
    Type Description
    System.Int16
    Overrides
    GameObjectBase.Index

    IsAlive

    Checks whether if it is alive. ///

    Declaration
    public override bool IsAlive { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    GameObjectBase.IsAlive

    IsCastingSpell

    Checks whether if it is casting a spell.

    Declaration
    public override bool IsCastingSpell { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    GameObjectBase.IsCastingSpell

    IsNativeObjectPointerValid

    Checks whether if the object's native pointer in memory is valid. (Is NOT NullPtr)

    Declaration
    public bool IsNativeObjectPointerValid { get; }
    Property Value
    Type Description
    System.Boolean

    IsTargetable

    Checks whether if is targetable by the player.

    Declaration
    public override bool IsTargetable { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    GameObjectBase.IsTargetable

    IsVisible

    Checks whether if it is visible to the player's sight in-game.

    Declaration
    public override bool IsVisible { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    GameObjectBase.IsVisible

    Level

    Gets the current level.

    Declaration
    public override int Level { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    GameObjectBase.Level

    MagicalShield

    Gets the amount of magical shield applied.

    Declaration
    public override float MagicalShield { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.MagicalShield

    MagicResist

    Gets the magic resist.

    Declaration
    public override float MagicResist { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.MagicResist

    Mana

    Gets the mana.

    Declaration
    public override float Mana { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.Mana

    MaxHealth

    Gets the max health.

    Declaration
    public override float MaxHealth { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.MaxHealth

    MaxMana

    Gets the max mana.

    Declaration
    public override float MaxMana { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.MaxMana

    ModelName

    Gets the character model name. For champions, it is the champion name.

    Declaration
    public override string ModelName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    GameObjectBase.ModelName

    Name

    Gets the object's name. For player, it is their username.

    Declaration
    public override string Name { get; }
    Property Value
    Type Description
    System.String
    Overrides
    GameObjectBase.Name

    NetworkID

    Gets the ID on the network stream.

    Declaration
    public override uint NetworkID { get; }
    Property Value
    Type Description
    System.UInt32
    Overrides
    GameObjectBase.NetworkID

    NeutralShield

    Gets the amount of neutral shield applied.

    Declaration
    public override float NeutralShield { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.NeutralShield

    PhysicalShield

    Gets the amount of physical shields applied.

    Declaration
    public override float PhysicalShield { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.PhysicalShield

    Position

    Gets the current position.

    Declaration
    public override Vector3 Position { get; }
    Property Value
    Type Description
    SharpDX.Vector3
    Overrides
    GameObjectBase.Position

    Team

    Gets the current team.

    Declaration
    public override TeamFlag Team { get; }
    Property Value
    Type Description
    TeamFlag
    Overrides
    GameObjectBase.Team

    TrueAttackRange

    Gets true attack range including bounding radius(hitbox radius) in 100th teemos.

    Declaration
    public override float TrueAttackRange { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    GameObjectBase.TrueAttackRange

    UnitComponentInfo

    Gets the unit's component information.

    Declaration
    public override UnitComponentInfo UnitComponentInfo { get; }
    Property Value
    Type Description
    UnitComponentInfo
    Overrides
    GameObjectBase.UnitComponentInfo

    UnitStats

    Gets the statistical information about the unit. Statistical values shown next to the champion icon at the bottom.

    Declaration
    public override UnitStats UnitStats { get; }
    Property Value
    Type Description
    UnitStats
    Overrides
    GameObjectBase.UnitStats

    W2S

    Get the transformed WorldToScreen position.

    Declaration
    public override Vector2 W2S { get; }
    Property Value
    Type Description
    SharpDX.Vector2
    Overrides
    GameObjectBase.W2S

    WorldToMap

    Gets the current position in map on screen.

    Declaration
    public override Vector2 WorldToMap { get; }
    Property Value
    Type Description
    SharpDX.Vector2
    Overrides
    GameObjectBase.WorldToMap

    Methods

    DistanceTo(Vector3)

    Gets the distance between the given vector3 in-game position.

    Declaration
    public override float DistanceTo(Vector3 position)
    Parameters
    Type Name Description
    SharpDX.Vector3 position
    Returns
    Type Description
    System.Single
    Overrides
    GameObjectBase.DistanceTo(Vector3)

    GetAttackCastDelay()

    Gets the time between cast animation and the actual cast of the basic attack.

    Declaration
    public override float GetAttackCastDelay()
    Returns
    Type Description
    System.Single
    Overrides
    GameObjectBase.GetAttackCastDelay()

    GetAttackDelay()

    Gets the time delay between basic attacks.

    Declaration
    public override float GetAttackDelay()
    Returns
    Type Description
    System.Single
    Overrides
    GameObjectBase.GetAttackDelay()

    GetCalculatedAttackCastDelay(String, Single, Single)

    Declaration
    public float GetCalculatedAttackCastDelay(string championName, float windupPercent, float windupModifier)
    Parameters
    Type Name Description
    System.String championName
    System.Single windupPercent
    System.Single windupModifier
    Returns
    Type Description
    System.Single

    GetCurrentCastingSpell()

    Gets the currently casting spell.

    Declaration
    public override SpellActiveEntry GetCurrentCastingSpell()
    Returns
    Type Description
    SpellActiveEntry
    Overrides
    GameObjectBase.GetCurrentCastingSpell()

    GetSpellBook()

    Gets the spellbook.

    Declaration
    public override SpellBook GetSpellBook()
    Returns
    Type Description
    SpellBook
    Overrides
    GameObjectBase.GetSpellBook()

    IsCombatType(CombatTypes)

    Checks whether if combat type matches the one given.

    Declaration
    public bool IsCombatType(CombatTypes CType)
    Parameters
    Type Name Description
    CombatTypes CType
    Returns
    Type Description
    System.Boolean

    IsTeam(TeamFlag)

    Checks whether if it is on team flag given.

    Declaration
    public bool IsTeam(TeamFlag tFlag)
    Parameters
    Type Name Description
    TeamFlag tFlag
    Returns
    Type Description
    System.Boolean

    Extension Methods

    Extensions.In<T>(T, T[])
    Extensions.Distance(GameObjectBase, GameObjectBase)
    Extensions.Distance(GameObjectBase, Vector3)
    Extensions.Distance(GameObjectBase, Vector2)
    Extensions.DistanceSquared(GameObjectBase, GameObjectBase)
    Extensions.DistanceSquared(GameObjectBase, Vector3)
    Extensions.DistanceSquared(GameObjectBase, Vector2)
    Extensions.DistanceToPlayer(GameObjectBase)
    Extensions.IsBothFacing(GameObjectBase, GameObjectBase)
    Extensions.IsFacing(GameObjectBase, GameObjectBase)
    Extensions.IsMelee(GameObjectBase)
    Extensions.IsValidTarget(GameObjectBase, Single, Boolean, Vector3)
    Extensions.GetWaypoints(GameObjectBase)
    Geometry.Distance(GameObjectBase, GameObjectBase, Boolean)
    Geometry.Distance(GameObjectBase, Vector3, Boolean)
    Geometry.Distance(GameObjectBase, Vector2, Boolean)
    Geometry.Distance3D(GameObjectBase, GameObjectBase, Boolean)
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾