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)
Click to show internal directories.
Click to hide internal directories.