AngeliA
Search Results for

    Show / Hide Table of Contents

    Class Weapon

    A type of handtool that launch a type of bullet when being used

    Implements
    IMapItem

    Properties

    BulletID

    Entity ID of the bullet

    Declaration
    public int BulletID { get; protected set; }

    ValidDirection

    Which direction can this weapon attack

    Declaration
    protected virtual WeaponValidDirection ValidDirection { get; }

    Methods

    OnPoseAnimationUpdate_FromEquipment(PoseCharacterRenderer)

    This function is called every frame when a pose-style character equipping this item

    Declaration
    public override void OnPoseAnimationUpdate_FromEquipment(PoseCharacterRenderer rendering)
    Overrides
    Item.OnPoseAnimationUpdate_FromEquipment(PoseCharacterRenderer)

    SpawnBullet(Character)

    Spawn the bullet entity

    Declaration
    public virtual Bullet SpawnBullet(Character sender)
    Parameters
    Type Name Description
    Character sender

    Character that use the weapon

    Returns
    Type Description
    Bullet

    Instance of the spawned bullet entity. Return null when invalid

    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค