UGCProjects/Document/和平精英.md

11 lines
334 B
Markdown
Raw Normal View History

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