Skip to content

Stream:ItemAdded

cooltrain7 edited this page Mar 5, 2023 · 2 revisions

ItemAdded

Despite its name ItemAdded is an event that has a wide range of possible contexts.

Payload Content

As with all Census payloads all types are given as strings, and can be converted to the following base types.

Name Type Description
event_name string The name of the Payload, i.e ItemAdded
character_id uint_64 The character who trigged the event
item_count uint_32 The quantity of items effected
item_id uint_32 The id of the item thats added/removed
world_id uint_32 The World (Server) the event was triggered from
zone_id uint_32 The Zone (Continent) the event was triggered from
timestamp uint_64 The UTC unix timestamp the event triggered

Contexts

Name Info
AdminAddItem Character has received an item from an admin
CaptureTheFlag.TakeFlag Character has picked up a flag at a CTF facility
GenericTerminalTransaction Character has received an item from a terminal (i.e Construction object, Outfit Expedition Debrief)
GiveRewardBundle:Achievement Character has received an item reward from a medal (i.e Certs, or Bounty Reward)
GiveRewardBundle:CampaignChapter Character has received an item reward from a campaign chapter
GiveRewardBundle:Ding Character has received an item reward from a level up
GiveRewardBundle:Directive Character has received an item reward from a completing a directive
GiveRewardBundle:ES_Season
GiveRewardBundle:ES_Weekly
GiveRewardBundle:Item Character has recived an genric item (Used by Implant packs)
GiveRewardBundle:MetaGameEvent
GiveRewardBundle:Mission
GiveRewardBundle:None
GiveRewardBundle:NpcBehavior
GiveRewardBundle:OutfitWar Character has recived an item reward from an outfit war
GuildBankWithdrawal Character has removed an item from an outfits "bank"
MailAddItem
PcZone::ReceiveEscrowPackage
RedeemTerminalProxyItem
ReprocessAllSkillItemGrants
RequestTrialItemLine Character has received an item from a trial request
ScriptAddItem Character has recived an item from a script (i.e NSO faction access, easter egg items)
SellBundle Character has received an item purchased from the store
SkillGrantItem Character has purchased a standalone item (i.e Grenade types)
SkillGrantItemLine Character has purchased an item that has multiple upgrades (i.e Suit,Ability,Implant)

Example

{
   "payload":{
      "character_id":"",
      "context":"SellBundle",
      "event_name":"ItemAdded",
      "item_count":"1",
      "item_id":"50110",
      "timestamp":"1606410737",
      "world_id":"13",
      "zone_id":"8"
   },
   "service":"event",
   "type":"serviceMessage"
}
Clone this wiki locally