Skip to content

Make outputMessage::addRawString available in Lua#63

Open
divinity76 wants to merge 2 commits intootland:masterfrom
divinity76:patch-6
Open

Make outputMessage::addRawString available in Lua#63
divinity76 wants to merge 2 commits intootland:masterfrom
divinity76:patch-6

Conversation

@divinity76
Copy link

Why write

msg:addU8(1);
msg:addU8(0);
msg:addU8(113);

when you can instead write

msg:addRawString("\x01\x00\x71");

? Would make some lua scripts much easier to write :)

Why write
```lua
msg:addU8(1);
msg:addU8(0);
msg:addU8(113);
```
when you can instead write
```lua
msg:addRawString("\x01\x00\x71");
```
? Would make some lua scripts much easier to write :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant