Class AIBaseClient
Client specifically for all base objects.
Inheritance
System.Object
AIBaseClient
Inherited Members
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)
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
Overrides
Armor
Declaration
public override float Armor { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
AttackRange
Gets the attack range in 100th teemos.
Declaration
public override float AttackRange { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
BaseObjectTypesAssociated
Gets the base object types the object is associated with.
Declaration
public List<ObjectTypeFlag> BaseObjectTypesAssociated { get; }
Property Value
BasicAttackInfo
Gets the information about the basic attack.
Declaration
public override SpellClassData BasicAttackInfo { get; }
Property Value
Overrides
BuffManager
Gets the manager for the buffs.
Declaration
public override BuffManager BuffManager { get; }
Property Value
Overrides
CombatType
Declaration
public override CombatTypes CombatType { get; }
Property Value
Overrides
Direction
Gets the direction it is facing towards/at.
Declaration
public override Vector3 Direction { get; }
Property Value
Type |
Description |
SharpDX.Vector3 |
|
Overrides
Distance
Gets the distance between the player.
Declaration
public override float Distance { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
EffectiveArmorHealth
Gets the health with armor.
Declaration
public override float EffectiveArmorHealth { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
EffectiveMagicHealth
Gets the health with magic resist.
Declaration
public override float EffectiveMagicHealth { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
EncryptedID
Gets the encryped server Object ID.
Declaration
public override int EncryptedID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Gold
Gets the amount of gold it has.
Declaration
public override float Gold { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
Health
Declaration
public override float Health { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
HealthBarScreenPosition
Gets the position of the health on the screen.
Declaration
public override Vector2 HealthBarScreenPosition { get; }
Property Value
Type |
Description |
SharpDX.Vector2 |
|
Overrides
Index
Gets the index within the object manager.
Declaration
public override short Index { get; }
Property Value
Type |
Description |
System.Int16 |
|
Overrides
IsAlive
Checks whether if it is alive. ///
Declaration
public override bool IsAlive { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
IsCastingSpell
Checks whether if it is casting a spell.
Declaration
public override bool IsCastingSpell { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
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
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
Level
Declaration
public override int Level { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
MagicalShield
Gets the amount of magical shield applied.
Declaration
public override float MagicalShield { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
MagicResist
Declaration
public override float MagicResist { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
Mana
Declaration
public override float Mana { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
MaxHealth
Declaration
public override float MaxHealth { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
MaxMana
Declaration
public override float MaxMana { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
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
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
NetworkID
Gets the ID on the network stream.
Declaration
public override uint NetworkID { get; }
Property Value
Type |
Description |
System.UInt32 |
|
Overrides
NeutralShield
Gets the amount of neutral shield applied.
Declaration
public override float NeutralShield { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
PhysicalShield
Gets the amount of physical shields applied.
Declaration
public override float PhysicalShield { get; }
Property Value
Type |
Description |
System.Single |
|
Overrides
Position
Gets the current position.
Declaration
public override Vector3 Position { get; }
Property Value
Type |
Description |
SharpDX.Vector3 |
|
Overrides
Team
Declaration
public override TeamFlag Team { get; }
Property Value
Overrides
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
UnitComponentInfo
Gets the unit's component information.
Declaration
public override UnitComponentInfo UnitComponentInfo { get; }
Property Value
Overrides
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
Overrides
W2S
Get the transformed WorldToScreen position.
Declaration
public override Vector2 W2S { get; }
Property Value
Type |
Description |
SharpDX.Vector2 |
|
Overrides
WorldToMap
Gets the current position in map on screen.
Declaration
public override Vector2 WorldToMap { get; }
Property Value
Type |
Description |
SharpDX.Vector2 |
|
Overrides
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
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
GetAttackDelay()
Gets the time delay between basic attacks.
Declaration
public override float GetAttackDelay()
Returns
Type |
Description |
System.Single |
|
Overrides
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
Overrides
GetSpellBook()
Declaration
public override SpellBook GetSpellBook()
Returns
Overrides
IsCombatType(CombatTypes)
Checks whether if combat type matches the one given.
Declaration
public bool IsCombatType(CombatTypes CType)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsTeam(TeamFlag)
Checks whether if it is on team flag given.
Declaration
public bool IsTeam(TeamFlag tFlag)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods