HyCodeYourTale
classpublicPriority 3

ProjectileConfig

com.hypixel.hytale.protocol.ProjectileConfig

6

Methods

6

Public Methods

8

Fields

3

Constructors

Constants

intFIXED_BLOCK_SIZE= 163
intMAX_SIZE= 1677721600
intNULLABLE_BIT_FIELD_SIZE= 1
intVARIABLE_BLOCK_START= 171
intVARIABLE_FIELD_COUNT= 2

Constructors

public
ProjectileConfig()
public
ProjectileConfig(PhysicsConfig physicsConfig, Model model, double launchForce, Vector3f spawnOffset, Direction rotationOffset, Map<InteractionType, Integer> interactions, int launchLocalSoundEventIndex, int projectileSoundEventIndex)
public
ProjectileConfig(ProjectileConfig other)

Methods

Public Methods (6)

publicstatic
int computeBytesConsumed(ByteBuf buf, int offset)
public
int computeSize()
public
boolean equals(Object obj)
@Override
public
int hashCode()
@Override
public
void serialize(ByteBuf buf)
publicstatic
ValidationResult validateStructure(ByteBuf buffer, int offset)

Fields

Public Fields (8)

publicMap<InteractionType, Integer> interactions
publicdouble launchForce
publicint launchLocalSoundEventIndex
publicModel model
publicPhysicsConfig physicsConfig
publicint projectileSoundEventIndex
publicDirection rotationOffset
publicVector3f spawnOffset

Related Classes