Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] Sending Boolean Variables Through Packets


Kimimaru
 Share

Recommended Posts

Hey! I was sending some packets, and I realized that there is no option to write booleans to the buffer. I just sent them as a Long; would that work?

EDIT: Sending Booleans through as either an Integer or a Long will work because when a boolean is True, its numerical value is -1\. When it is False, its numerical value is 0.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...