tModLoader v2024.03
A mod to make and play Terraria mods
MessageID Class Reference

Static Public Member Functions

static string GetName (int id)
 

Static Public Attributes

const byte AchievementMessageEventHappened = 98
 
const byte AchievementMessageNPCKilled = 97
 
const byte AddNPCBuff = 53
 
const byte AddPlayerBuff = 55
 
const byte AnglerQuest = 74
 
const byte AnglerQuestFinished = 75
 
const byte BugCatching = 70
 
const byte BugReleasing = 71
 
const byte ChatText = 25
 
const byte ChestName = 69
 
const byte ChestUpdates = 34
 
const byte ClientSyncedInventory = 138
 
const byte ClientUUID = 68
 
const byte CombatTextInt = 81
 
const byte CombatTextString = 119
 
static readonly byte Count = 149
 
const byte CrystalInvasionRequestedToSkipWaitTime = 143
 
const byte CrystalInvasionSendWaitTime = 116
 
const byte CrystalInvasionStart = 113
 
const byte CrystalInvasionWipeAllTheThingsss = 114
 
const byte DamageNPC = 28
 
const byte DeadPlayer = 135
 
const byte Deprecated1 = 94
 
const byte Dodge = 62
 
const byte Emoji = 120
 
const byte FinishedConnectingToServer = 129
 
const byte FishOutNPC = 130
 
const byte FoodPlatterTryPlacing = 133
 
const byte GemLockToggle = 105
 
const byte Hello = 1
 
const byte HitSwitch = 59
 
const byte HurtPlayer = 26
 
const byte InGameChangeConfig = 249
 
const byte InitialSpawn = 49
 
const byte InstancedItem = 90
 
const byte InstrumentSound = 58
 
const byte InvasionProgressReport = 78
 
const byte ItemFrameTryPlacing = 89
 
const byte ItemOwner = 22
 
const byte ItemTweaker = 88
 
const byte KeepAliveDuringModReload = 253
 
const byte Kick = 2
 
const byte KillPlayer = 44
 
const byte KillProjectile = 29
 
const byte LandGolfBallInCup = 128
 
const byte LiquidUpdate = 48
 
const byte LockAndUnlock = 52
 
const byte ManaEffect = 43
 
const byte MassWireOperation = 109
 
const byte MassWireOperationPay = 110
 
const byte MinionAttackTargetUpdate = 115
 
const byte MinionRestTargetUpdate = 99
 
const byte MiscDataSync = 51
 
const byte ModFile = 252
 
const byte ModPacket = 250
 
const byte MoonlordHorror = 103
 
const byte MurderSomeoneElsesPortal = 95
 
const byte NebulaLevelupRequest = 102
 
const byte NetModules = 82
 
const byte NeverCalled = 0
 
const byte NPCBuffs = 54
 
const byte NPCHome = 60
 
const byte NPCKillCountDeathTally = 83
 
const byte PaintTile = 63
 
const byte PaintWall = 64
 
const byte PlaceObject = 79
 
const byte PlayerActive = 14
 
const byte PlayerBuffs = 50
 
const byte PlayerControls = 13
 
const byte PlayerDeathV2 = 118
 
const byte PlayerHeal = 35
 
const byte PlayerHurtV2 = 117
 
const byte PlayerInfo = 3
 
const byte PlayerLifeMana = 16
 
const byte PlayerMana = 42
 
const byte PlayerSpawn = 12
 
const byte PlayerStealth = 84
 
const byte PlayerTeam = 45
 
const byte PlayLegacySound = 132
 
const byte PoofOfSmoke = 106
 
const byte QuestsCountSync = 76
 
const byte QuickStackChests = 85
 
const byte ReadSign = 47
 
const byte ReleaseItemOwnership = 39
 
const byte RemoveRevengeMarker = 127
 
const byte RequestChestOpen = 31
 
const byte RequestLucyPopup = 141
 
const byte RequestNPCBuffRemoval = 137
 
const byte RequestPassword = 37
 
const byte RequestQuestEffect = 144
 
const byte RequestReadSign = 46
 
const byte RequestTeleportationByServer = 73
 
const byte RequestTileEntityInteraction = 122
 
const byte RequestWorldData = 6
 
static readonly IdDictionary Search = IdDictionary.Create<MessageID, byte>()
 
const byte SendPassword = 38
 
const byte SetCountsAsHostForGameplay = 139
 
const byte SetMiscEventValues = 140
 
const byte SetTime = 18
 
const byte ShimmerActions = 146
 
const byte ShopOverride = 104
 
const byte ShotAnimationAndSound = 41
 
const byte SmartTextMessage = 107
 
const byte SocialHandshake = 93
 
const byte SpawnBossUseLicenseStartEvent = 61
 
const byte SpawnTileData = 8
 
const byte SpecialFX = 112
 
const byte SpiritHeal = 66
 
const byte StatusTextSize = 9
 
const byte SyncCavernMonsterType = 136
 
const byte SyncChestItem = 32
 
const byte SyncEmoteBubble = 91
 
const byte SyncEquipment = 5
 
const byte SyncExtraValue = 92
 
const byte SyncItem = 21
 
const byte SyncItemCannotBeTakenByEnemies = 148
 
const byte SyncItemsWithShimmer = 145
 
const byte SyncLoadout = 147
 
const byte SyncMods = 251
 
const byte SyncNPC = 23
 
const byte SyncPlayer = 4
 
const byte SyncPlayerChest = 33
 
const byte SyncPlayerChestIndex = 80
 
const byte SyncPlayerZone = 36
 
const byte SyncProjectile = 27
 
const byte SyncProjectileTrackers = 142
 
const byte SyncRevengeMarker = 126
 
const byte SyncTalkNPC = 40
 
const byte SyncTilePicking = 125
 
const byte TamperWithNPC = 131
 
const byte TEDisplayDollItemSync = 121
 
const byte TEHatRackItemSync = 124
 
const byte TeleportEntity = 65
 
const byte TeleportNPCThroughPortal = 100
 
const byte TeleportPlayerThroughPortal = 96
 
const byte TemporaryAnimation = 77
 
const byte TileCounts = 57
 
const byte TileEntityPlacement = 87
 
const byte TileEntitySharing = 86
 
const byte TileFrameSection = 11
 
const byte TileManipulation = 17
 
const byte TileSection = 10
 
const byte TileSquare = 20
 
const byte ToggleDoorState = 19
 
const byte ToggleParty = 111
 
const byte TogglePVP = 30
 
const byte TravelMerchantItems = 72
 
const byte UniqueTownNPCInfoSyncRequest = 56
 
const byte Unknown67 = 67
 
const byte Unused15 = 15
 
const byte UnusedMeleeStrike = 24
 
const byte UpdatePlayerLuckFactors = 134
 
const byte UpdateTowerShieldStrengths = 101
 
const byte WeaponsRackTryPlacing = 123
 
const byte WiredCannonShot = 108
 
const byte WorldData = 7