Class EntityClientGadget


public class EntityClientGadget extends EntityBaseGadget
  • Constructor Details

    • EntityClientGadget

      public EntityClientGadget(Scene scene, Player player, emu.grasscutter.net.proto.EvtCreateGadgetNotifyOuterClass.EvtCreateGadgetNotify notify)
  • Method Details

    • getGadgetId

      public int getGadgetId()
      Specified by:
      getGadgetId in class EntityBaseGadget
    • getOwner

      public Player getOwner()
    • getCampId

      public int getCampId()
    • getCampType

      public int getCampType()
    • getOwnerEntityId

      public int getOwnerEntityId()
    • getTargetEntityId

      public int getTargetEntityId()
    • isAsyncLoad

      public boolean isAsyncLoad()
    • onDeath

      public void onDeath(int killerId)
      Overrides:
      onDeath in class EntityBaseGadget
    • getFightProperties

      public it.unimi.dsi.fastutil.ints.Int2FloatOpenHashMap getFightProperties()
      Specified by:
      getFightProperties in class GameEntity
    • getPosition

      public Position getPosition()
      Specified by:
      getPosition in class GameEntity
    • getRotation

      public Position getRotation()
      Specified by:
      getRotation in class GameEntity
    • toProto

      public emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo toProto()
      Specified by:
      toProto in class GameEntity