INSO07
|
BaseLine StructSHORT: ObjectOpperandCount BYTE: ResourcePoolUpdateFlag INT: ResourcePoolIDs INT: UpdateCounter { LONG: GlobalResourceID } INT: ResourcePoolIDs INT: UpdateCounter { LONG: GlobalResourceID } INT: ResourcePoolNames INT: UpdateCounter { ASTRING: ResourceName } INT: ResourcePoolTypes INT: UpdateCounter { ASTRING: ResourceType } LONG: SelectedGlobalResourceID BYTE: ActiveFlag INT: ExtractionRateMaxDisplayed FLOAT: ExtractionRateMax FLOAT: CurrentExtractionRate FLOAT: CurrentHopperSize INT: HopperSizeMax BYTE: HopperUpdateFlag INT: HopperContentsSize INT: UpdateCounter { LONG: GlobalResourceID FLOAT: ResourceQuantity } BYTE: Condition Deltas StructSHORT: UpdateCount SHORT: UpdateType { 00: BYTE: ResourcePoolUpdateFlag 01: INT: ResourcePoolIDs INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index LONG: GlobalResourceID 02:(change) SHORT: Index LONG: GlobalResourceID 03:(resetall) SHORT: NewListSize { LONG: GlobalResourceID } 04:(clearall) } } 02: INT: ResourcePoolIDs INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index LONG: GlobalResourceID 02:(change) SHORT: Index LONG: GlobalResourceID 03:(resetall) SHORT: NewListSize { LONG: GlobalResourceID } 04:(clearall) } } 03: INT: ResourcePoolNames INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index ASTRING: ResourceName 02:(change) SHORT: Index ASTRING: ResourceName 03:(resetall) SHORT: NewListSize { ASTRING: ResourceName } 04:(clearall) } } 04: INT: ResourcePoolTypes INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index ASTRING: ResourceType 02:(change) SHORT: Index ASTRING: ResourceType 03:(resetall) SHORT: NewListSize { ASTRING: ResourceType } 04:(clearall) } } 05: LONG: SelectedGlobalResourceID 06: BYTE: ActiveFlag 07: INT: ExtractionRateMaxDisplayed 08: FLOAT: ExtractionRateMax 09: FLOAT: CurrentExtractionRate 0A: FLOAT: CurrentHopperSize 0B: INT: HopperSizeMax 0C: BYTE: HopperUpdateFlag 0D: INT: HopperContentsSize INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index LONG: GlobalResourceID FLOAT: ResourceQuantity 02:(change) SHORT: Index LONG: GlobalResourceID FLOAT: ResourceQuantity 03:(resetall) SHORT: NewListSize { LONG: GlobalResourceID FLOAT: ResourceQuantity } 04:(clearall) } } 0E: BYTE: Condition } Sample Packet |
Variable DescriptionsObjectOpperandCount = 16 ResourcePoolUpdateFlag: Set to 1 if the ResourcePools are being updated (To reflect in UI). GlobalResourceID: The Resource ID that correlates to a specific unique resource (and not the container object). All containers/items/etc reference it globally rather than duplicate information per container and such. Think of it as the ResourceID as the ID for a unique Resource Type (instead of the container). ResourceName: The Unique Name for the resource available for extraction. ResourceType: The heiarchy/tree/class of the resources available for extraction. SelectedGlobalResourceID: The GlobalResourceID currently being harvested. ActiveFlag: Set to 1 to show installation as "Activated". ExtractionRateMaxDisplayed: The max possible extraction rate displayed (as an integer). ExtractionRateMax: The max possible extraction rate on this machine. CurrentExtractionRate: The current percentage efficiency of extraction. CurrentHopperSize: The current amount of resources in the hopper. HopperSizeMax: The maximum number of resources that can fit into the hopper. HopperUpdateFlag: Set to 1 to update Hopper Contents UI. HopperContents: A list of resources/quantity in the hopper. ResourceQuantity: The amount of resource inside the hopper. Condition: The percentage condition the installation is in. }}} Additional InformationNeeds A [wiki:ResourceHarvesterActivatePageMessage::MESSAGE_TYPE] Opcode to allow handling of a 07. Then send on the request - !HarvesterResourceData ([wiki:ObjController0EA]) -07 Baseline To successfully finish "Downloading" Data. Note: If the data doesnt finish "downloading", you probably need to send a blank baseline and a full Delta Message, or just a Delta Message with the BYTE flags as 1's (or zeros) . Something to toy with still... Tags
|