Facepunch / sbox-issues

177 stars 12 forks source link

Expose PerChannel<T> Get and Set methods #6977

Closed bub-bl closed 1 day ago

bub-bl commented 2 days ago

What can't you do?

We have access to the Value variable, but not on the Get, Set methods.. That have no sense, we can edit the Value variable anyway

How would you like it to work?

Just expose Get and Set function

What have you tried?

Above

Additional context

No response

aylaylay commented 1 day ago

why?

bub-bl commented 1 day ago

why?

Why not ? We need it to write a custom processor. We can access to the Value itself, why don't expose Get and Set function directly ?

Why define Get and Set function has internal to write/read Value and expose publicly Value ? That don't make sense Image

bub-bl commented 1 day ago

Garry have exposed this stuff