Class EntityItem


public class EntityItem extends EntityBaseGadget
  • Constructor Details

  • Method Details

    • getId

      public int getId()
      Overrides:
      getId in class GameEntity
    • getItemData

      public ItemData getItemData()
    • getGuid

      public long getGuid()
    • getCount

      public int getCount()
    • getGadgetId

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

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

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

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

      public boolean isShare()
    • toProto

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