Files
2025-03-17 13:24:39 +08:00

36 lines
584 B
Markdown

---
sidebarDepth: 1
---
# 抛射物
## GetSourceEntityId
<span style="display:inline;color:#ff5555">服务端</span>
method in mod.server.component.bulletAttributesCompServer.BulletAttributesComponentServer
- 描述
获取抛射物发射者实体id
- 参数
- 返回值
| <div style="width: 4em">数据类型</div> | 说明 |
| :--- | :--- |
| str | 抛射物发射者实体id |
- 示例
```python
import mod.server.extraServerApi as serverApi
comp = serverApi.GetEngineCompFactory().CreateBulletAttributes(entityId)
comp.GetSourceEntityId()
```