Download the PHP package brucedeity/pwhexparser without Composer
On this page you can find all versions of the php package brucedeity/pwhexparser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download brucedeity/pwhexparser
More information about brucedeity/pwhexparser
Files in brucedeity/pwhexparser
Download brucedeity/pwhexparser
More information about brucedeity/pwhexparser
Files in brucedeity/pwhexparser
Vendor brucedeity
Package pwhexparser
Short Description PHP package for reading PW's octets
License MIT
Package pwhexparser
Short Description PHP package for reading PW's octets
License MIT
Please rate this library. Is it a good library?
Informations about the package pwhexparser
pwhexparser
This project is able to decode PW's hexadecimal strings based on their predefined structure.
Features
- Decode the structure for Weapon, Armor, Fashion, Jewelry, Flight, Role Property and more.
- Retrieve the decoded data as json.
- Error handling and validation for input data.
Installation
You can install the package via composer:
Example
Here's an example usage of the PWHexParser library:
Which will output:
Guessing item type:
You can also guess the item type based on the item's mask:
Output:
Translating fields:
<?php
$mask = 1; // Weapon
$decoder = new Decoder;
$decoder->guessItemType($mask);
$decoder->setLang('pt-BR');
$decoder->sethexString('64002000360000002e0100008c7b0000007d00002c000406480075007a0002000000c55c00000f00000000000000ad02000004040000000000000000000010000000000020400000000002000900d0070000d007000005000000db21000003000000852500005e010000cc25000012000000e1a1000064000000e1a1000064000000');
$decoder->setLang('pt-BR');
echo json_encode($decoder->translate(), JSON_PRETTY_PRINT);
All versions of pwhexparser with dependencies
PHP Build Version
Package Version
No informations.
The package brucedeity/pwhexparser contains the following files
Loading the files please wait ....