• Manual
  • Scripting API
  • Changelog
  • Contact
Search Results for

    Show / Hide Table of Contents
    • BattleBehaviour
      • BattleBehaviour.Fusion
        • FusionManager
        • GameCharacterFusion
      • Battle
      • BossSize
      • CharacterGroup
      • ScriptableBattlePosition
      • ScriptableBattleStage
      • TeamData
      • BattleBehaviour.Backup
        • BackupState
        • BattleBackup
    • GameActors
      • GameActor
      • GameCharacter
      • GameCharacter.AIState
      • GameItem
    • States
      • BattleState
      • ChangeStageState
      • FightState
      • FightState.LoseCondition
      • FightState.WinCondition
      • PreparationState
      • ResetSceneState
    • Battlefield
      • BattleGrid
      • BattleGrid.GridType
      • Bench
      • GridCell
      • GridCellEffect
      • SellZone
    • BattleUI
      • CharacterEnergyUI
      • CharacterHealthUI
      • CharacterStatsUI
      • DamagePopup
      • ItemDescriptionUI
      • ShopExpBarUI
      • StageUI
      • TraitDescriptionUI
      • TraitListUI
      • TraitListUI.OrderBy
      • TraitStatsUI
      • TraitUI
    • EditorScripts
      • BattleGridEditor
      • BattlePositionEditor
      • BenchEditor
      • GameCharacterEditor
      • NetworkObjectsListEditor
      • NFO_GameCharacterEditor
      • NGO_MenuActions
      • ReadOnlyDrawer
    • Formulas
      • BattleFormulas
      • BattleFormulas.DamageType
    • Movement
      • ApproximateAstarMovement
      • ExactAstarMovement
      • IBattleMovement
      • PathFinding2D
    • Multiplayer
      • BattleBehaviour
        • NetworkObjectList
        • StatsStruct
        • GameActors
          • NGO_GameCharacter
          • NGO_GameItem
        • Player
          • GamePlayer
          • IPlayer
        • States
          • MP_ConnectionState
          • MP_FightState
          • MP_PreparationState
      • ClientTransform
        • ClientNetworkTransform
      • EditorScripts
        • NGO_MenuActions
      • GamingServices
        • GamingServices
          • GamingServices.RelayHostData
          • GamingServices.RelayJoinData
      • UI
        • NetworkManagerUI
    • Shop
      • ScriptableShopItem
      • ShopCharacter
      • ShopGameItem
      • ShopItemInfo
      • ShopLevel
      • ShopLevelManager
      • ShopManager
      • ShopGUI
        • CurrencyUI
        • EquippedItemDescriptionUI
        • ShopItemUI
        • ShopUI
        • SpecialAttackDescriptionUI
        • Timer
      • ShopList
        • IShopList
        • ScriptableDeckList
        • ScriptableGroupItemList
        • ScriptableIndividualItemList
        • ShopItemList
    • Skills
      • ApplyBuffOnHitEffect
      • ApplyDebuffOnHitEffect
      • ArrowEffect
      • BuffEffect
      • BuffEffectInfo
      • FixedDamageOverTimeEffect
      • HealthMeteoriteAllEffect
      • HealthStealEffect
      • IAttackEffect
      • MeleeEffect
      • MeteoriteEffect
      • OnHitEffect
      • Projectile
      • RangedEffect
      • SimpleBuffEffect
      • SwordEffect
      • VariableDamageOverTimeEffect
    • Stats
      • CharacterStats
      • CharacterStats.CharacterStat
      • ItemModificator
      • StatModificator
      • StatsModificator
      • StatsModificator.ModificatorType
      • Trait
      • TraitOption
      • TraitOption.TraitTarget
    • Utility
      • AutoBattleSettings
      • ReadOnlyAttribute
      • UIUtility

    Class IPlayer

    Base player that stores all the information necessary to identify objects and areas belonging to the player. It also allows sending and receiving messages from the host. It will be used in a package featuring multiplayer to be released in version 1.2.

    Inheritance
    Object
    IPlayer
    GamePlayer
    Namespace: AutoBattleFramework.Multiplayer.BattleBehaviour.Player
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class IPlayer : NetworkBehaviour

    Fields

    CharacterBench

    P^ayer Character bench.

    Declaration
    public Bench CharacterBench
    Field Value
    Type Description
    Bench

    instance

    Static reference to the player.

    Declaration
    public static IPlayer instance
    Field Value
    Type Description
    IPlayer

    ItemBench

    Player item bench.

    Declaration
    public Bench ItemBench
    Field Value
    Type Description
    Bench

    TraitList

    Trait List UI of the player.

    Declaration
    public TraitListUI TraitList
    Field Value
    Type Description
    TraitListUI

    TraitsToCheckTeam

    Trat list of the player.

    Declaration
    public List<Trait> TraitsToCheckTeam
    Field Value
    Type Description
    List<Trait>

    Properties

    IsPlayerHost

    If the player is the host.

    Declaration
    public bool IsPlayerHost { get; }
    Property Value
    Type Description
    Boolean

    Methods

    FusionMembers(List<GameCharacter>, ShopCharacter)

    The host makes a fusion of characters.

    Declaration
    public abstract void FusionMembers(List<GameCharacter> fusionMembers, ShopCharacter FusionResult)
    Parameters
    Type Name Description
    List<GameCharacter> fusionMembers

    List of fusion members.

    ShopCharacter FusionResult

    Result of the fusion

    GetPlayerById(UInt64)

    Get the player instance by its ID.

    Declaration
    public static IPlayer GetPlayerById(ulong ID)
    Parameters
    Type Name Description
    UInt64 ID

    ID of the player.

    Returns
    Type Description
    IPlayer

    Player instance with the given ID.

    NextStage()

    Make the player change the stage.

    Declaration
    public abstract void NextStage()

    RemoveItemFromCharacterClient(UInt64, UInt16)

    The host removes the item from a character.

    Declaration
    public abstract void RemoveItemFromCharacterClient(ulong GameCharacterID, ushort itemModificatorIndex)
    Parameters
    Type Name Description
    UInt64 GameCharacterID

    Character's network ID.

    UInt16 itemModificatorIndex

    Index of the item modificator.

    RemoveItemFromCharacterServer(UInt64, UInt16)

    ASk the server to remove the item from a character.

    Declaration
    public abstract void RemoveItemFromCharacterServer(ulong GameCharacterID, ushort itemModificatorIndex)
    Parameters
    Type Name Description
    UInt64 GameCharacterID

    Character's network ID.

    UInt16 itemModificatorIndex

    Index of the item modificator.

    ResetCharactersPositionsClient()

    The host moves the character to the starting position.

    Declaration
    public abstract void ResetCharactersPositionsClient()

    SpawnGameActorServer(Unity.Collections.FixedString128Bytes, Single, Single, Single)

    Ask the host to spawn a GameActor at the given position.

    Declaration
    public abstract void SpawnGameActorServer(Unity.Collections.FixedString128Bytes itemName, float x, float y, float z)
    Parameters
    Type Name Description
    Unity.Collections.FixedString128Bytes itemName

    Actor�s item name

    Single x

    X position

    Single y

    Y position

    Single z

    Z position

    In This Article
    Back to top Auto-Battle Framework documentation