mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
https://github.com/roblabla/ProtoDef/pull/50 : update to new numerical names
This commit is contained in:
parent
fd8ad9b461
commit
09b491f39e
1 changed files with 7 additions and 7 deletions
|
@ -14,12 +14,12 @@ function evalCount(count, fields) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var values = {
|
var values = {
|
||||||
'int': 123456,
|
'i32': 123456,
|
||||||
'short': -123,
|
'i16': -123,
|
||||||
'ushort': 123,
|
'u16': 123,
|
||||||
'varint': 25992,
|
'varint': 25992,
|
||||||
'byte': -10,
|
'i8': -10,
|
||||||
'ubyte': 8,
|
'u8': 8,
|
||||||
'string': "hi hi this is my client string",
|
'string': "hi hi this is my client string",
|
||||||
'buffer': new Buffer(8),
|
'buffer': new Buffer(8),
|
||||||
'array': function(typeArgs, context) {
|
'array': function(typeArgs, context) {
|
||||||
|
@ -49,8 +49,8 @@ var values = {
|
||||||
},
|
},
|
||||||
'count': 1, // TODO : might want to set this to a correct value
|
'count': 1, // TODO : might want to set this to a correct value
|
||||||
'bool': true,
|
'bool': true,
|
||||||
'double': 99999.2222,
|
'f64': 99999.2222,
|
||||||
'float': -333.444,
|
'f32': -333.444,
|
||||||
'slot': {
|
'slot': {
|
||||||
blockId: 5,
|
blockId: 5,
|
||||||
itemCount: 56,
|
itemCount: 56,
|
||||||
|
|
Loading…
Reference in a new issue