diff options
author | Mat <mail@mathias.is> | 2020-07-17 20:33:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 20:33:02 +0200 |
commit | eb0f640fa01ff9be5516f5ae3da33b2e76756577 (patch) | |
tree | 0e60a4cd1b2213573e4fcf6610ea7905f627feca /src/Protocol/Protocol.h | |
parent | cProtocolRecognizer goes on a diet (#4770) (diff) | |
download | cuberite-eb0f640fa01ff9be5516f5ae3da33b2e76756577.tar cuberite-eb0f640fa01ff9be5516f5ae3da33b2e76756577.tar.gz cuberite-eb0f640fa01ff9be5516f5ae3da33b2e76756577.tar.bz2 cuberite-eb0f640fa01ff9be5516f5ae3da33b2e76756577.tar.lz cuberite-eb0f640fa01ff9be5516f5ae3da33b2e76756577.tar.xz cuberite-eb0f640fa01ff9be5516f5ae3da33b2e76756577.tar.zst cuberite-eb0f640fa01ff9be5516f5ae3da33b2e76756577.zip |
Diffstat (limited to 'src/Protocol/Protocol.h')
-rw-r--r-- | src/Protocol/Protocol.h | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h index e1d901321..2df8103b0 100644 --- a/src/Protocol/Protocol.h +++ b/src/Protocol/Protocol.h @@ -145,6 +145,193 @@ public: pktWindowProperty }; + enum class eEntityMetadata + { + EntityFlags, + EntityAir, + EntityCustomName, + EntityCustomNameVisible, + EntitySilent, + EntityNoGravity, + EntityPose, + + PotionThrown, + + FallingBlockPosition, + + AreaEffectCloudRadius, + AreaEffectCloudColor, + AreaEffectCloudSinglePointEffect, + AreaEffectCloudParticleId, + AreaEffectCloudParticleParameter1, + AreaEffectCloudParticleParameter2, + + ArrowFlags, + TippedArrowColor, + + BoatLastHitTime, + BoatForwardDirection, + BoatDamageTaken, + BoatType, + BoatLeftPaddleTurning, + BoatRightPaddleTurning, + BoatSplashTimer, + + EnderCrystalBeamTarget, + EnderCrystalShowBottom, + + WitherSkullInvulnerable, + + FireworkInfo, + FireworkBoostedEntityId, + + ItemFrameItem, + ItemFrameRotation, + + ItemItem, + + LivingActiveHand, + LivingHealth, + LivingPotionEffectColor, + LivingPotionEffectAmbient, + LivingNumberOfArrows, + + PlayerAdditionalHearts, + PlayerScore, + PlayerDisplayedSkinParts, + PlayerMainHand, + + ArmorStandStatus, + ArmorStandHeadRotation, + ArmorStandBodyRotation, + ArmorStandLeftArmRotation, + ArmorStandRightArmRotation, + ArmorStandLeftLegRotation, + ArmorStandRightLegRotation, + + InsentientFlags, + + BatHanging, + + AgeableIsBaby, + + AbstractHorseFlags, + AbstractHorseOwner, + + HorseVariant, + HorseArmour, + + ChestedHorseChested, + + LlamaStrength, + LlamaCarpetColor, + LlamaVariant, + + PigHasSaddle, + PigTotalCarrotOnAStickBoost, + + RabbitType, + + PolarBearStanding, + + SheepFlags, + + TameableAnimalFlags, + TameableAnimalOwner, + + OcelotType, + + WolfDamageTaken, + WolfBegging, + WolfCollarColour, + + VillagerProfession, + + IronGolemPlayerCreated, + + ShulkerFacingDirection, + ShulkerAttachmentFallingBlockPosition, + ShulkerShieldHeight, + + BlazeOnFire, + + CreeperState, + CreeperPowered, + CreeperIgnited, + + GuardianStatus, + GuardianTarget, + + IllagerFlags, + SpeIlagerSpell, + + VexFlags, + + AbstractSkeletonArmsSwinging, + + SpiderClimbing, + + WitchAggresive, + + WitherFirstHeadTarget, + WitherSecondHeadTarget, + WitherThirdHeadTarget, + WitherInvulnerableTimer, + + ZombieIsBaby, + ZombieUnusedWasType, + ZombieHandsRisedUp, + + ZombieVillagerConverting, + ZombieVillagerProfession, + + EndermanCarriedBlock, + EndermanScreaming, + + EnderDragonDragonPhase, + + GhastAttacking, + + SlimeSize, + + MinecartShakingPower, + MinecartShakingDirection, + MinecartShakingMultiplier, + MinecartBlockIDMeta, + MinecartBlockY, + MinecartShowBlock, + + MinecartCommandBlockCommand, + MinecartCommandBlockLastOutput, + + MinecartFurnacePowered, + + TNTPrimedFuseTime + }; + + enum class eEntityMetadataType + { + Byte, + VarInt, + Float, + String, + Chat, + OptChat, + Item, + Boolean, + Rotation, + Position, + OptPosition, + Direction, + OptUUID, + OptBlockID, + NBT, + Particle, + VillagerData, + OptVarInt, + Pose + }; + /** Called when client sends some data */ virtual void DataReceived(const char * a_Data, size_t a_Size) = 0; |