掉落场景物件

This commit is contained in:
flswld
2023-03-28 21:59:46 +08:00
parent 41e51297db
commit 2ba73cce5b
4 changed files with 49 additions and 17 deletions

View File

@@ -526,6 +526,10 @@ func (e *Entity) GetId() uint32 {
return e.id
}
func (e *Entity) GetScene() *Scene {
return e.scene
}
func (e *Entity) GetLifeState() uint16 {
return e.lifeState
}
@@ -671,12 +675,17 @@ func (g *GadgetEntity) GetGadgetVehicleEntity() *GadgetVehicleEntity {
type GadgetNormalEntity struct {
itemId uint32
count uint32
}
func (g *GadgetNormalEntity) GetItemId() uint32 {
return g.itemId
}
func (g *GadgetNormalEntity) GetCount() uint32 {
return g.count
}
type GadgetClientEntity struct {
configId uint32
campId uint32