# 抛射物

# GetSourceEntityId

服务端

method in mod.server.component.bulletAttributesCompServer.BulletAttributesComponentServer

  • 描述

    获取抛射物发射者实体id

  • 参数

  • 返回值

    数据类型
    说明
    str 抛射物发射者实体id
  • 示例

import mod.server.extraServerApi as serverApi
comp = serverApi.GetEngineCompFactory().CreateBulletAttributes(entityId)
comp.GetSourceEntityId()

GetSourceEntityId