Skip to content

Add missing _binobj var for generators#342

Merged
SpaceManiac merged 1 commit intoSpaceManiac:masterfrom
TiviPlus:patch-1
Oct 30, 2022
Merged

Add missing _binobj var for generators#342
SpaceManiac merged 1 commit intoSpaceManiac:masterfrom
TiviPlus:patch-1

Conversation

@TiviPlus
Copy link
Copy Markdown
Contributor

Similar to the database binobj, is a internal object

var/generator/gen = generator("circle", 0, 16, NORMAL_RAND)
world.log << "[gen._binobj]"
Welcome BYOND! (5.0 Public Version 514.1580)
generator("circle", 0, 16, NORMAL_RAND)

@SpaceManiac
Copy link
Copy Markdown
Owner

No problem merging this, but if I may ask, what is this _binobj actually useful for?

@TiviPlus
Copy link
Copy Markdown
Contributor Author

TiviPlus commented Oct 27, 2022

In my specific case I'm using the string representation of the binobj in order to read the generators arguments, since you can't otherwise

@SpaceManiac SpaceManiac merged commit 10d9575 into SpaceManiac:master Oct 30, 2022
@TiviPlus TiviPlus deleted the patch-1 branch October 31, 2022 20:47
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.

2 participants