WeaponInstantFire

package
v0.0.0-...-0c1458e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClassNameToDescriptor = map[string]FGWeaponInstantFire{
	"Equip_Rifle_C": Rifle,
}
View Source
var (
	Rifle = FGWeaponInstantFire{
		Name:                   "Rifle",
		ClassName:              "Equip_Rifle_C",
		Fire:                   `()`,
		MArmAnimation:          `AE_Rifle`,
		MAttachSocket:          `hand_rSocket`,
		MBackAnimation:         `BE_None`,
		MBlockSprintWhenFiring: true,
		MCostToUse:             ``,
		MCurrentAmmo:           0,
		MEquipmentSlot:         resource.Arms,
		MFireRate:              0.200000,
		MHasPersistentOwner:    false,
		MHasReloadedOnce:       false,
		MInstantHitDamage:      6.000000,
		MLockAngle:             0.000000,
		MMagSize:               10,
		MReloadTime:            3.200000,
		MUseDefaultPrimaryFire: false,
		MWeaponTraceLength:     15000.000000,
	}
)

Functions

This section is empty.

Types

type FGWeaponInstantFire

type FGWeaponInstantFire struct {
	Name                   string
	ClassName              string
	Fire                   string
	MArmAnimation          string
	MAttachSocket          string
	MBackAnimation         string
	MBlockSprintWhenFiring bool
	MCostToUse             string
	MCurrentAmmo           int
	MEquipmentSlot         resource.EquipmentSlot
	MFireRate              float64
	MHasPersistentOwner    bool
	MHasReloadedOnce       bool
	MInstantHitDamage      float64
	MLockAngle             float64
	MMagSize               int
	MReloadTime            float64
	MUseDefaultPrimaryFire bool
	MWeaponTraceLength     float64
}

func GetByClassName

func GetByClassName(className string) (FGWeaponInstantFire, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL