UGCProjects/Document/和平精英.md
2025-01-04 23:00:19 +08:00

11 lines
334 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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