334 B
334 B
武器
开火回调
- UGCPlayerPawn::UGC_WeaponShootBulletEvent(ShootWeapon, Bullet)
- 客户端执行
- 可以通过 Bullet:GetShootID() 获取唯一 ID,该值会在死亡之后重置
- ShootWeapon:GetCurShootID() 获取的值会比实际子弹 ID 小 1,因此需要 + 1 才可以得到当前的子弹 ShootID