How to send ULong with an event?
Options
Hello,
I'm trying to send a ulong type over the network as an event, this is an event called when the player enters a room and the ulong is the users SteamID.
I get the error of a custom unknown type found, what would be a good way to send this over the network? It will only be sent 2 time - for the on join / leave room function calls.
Thanks for any help!
I'm trying to send a ulong type over the network as an event, this is an event called when the player enters a room and the ulong is the users SteamID.
I get the error of a custom unknown type found, what would be a good way to send this over the network? It will only be sent 2 time - for the on join / leave room function calls.
Thanks for any help!
0
Answers
-
You have to serialize your self
https://doc.photonengine.com/en-US/realtime/current/reference/serialization-in-photon.
Does it rly has to be a uLong ? isnt a long not enough?
Or cast it to a string send it and cast it back.
0 -
It will only accept a Ulong & can't cast it. Looking into serializing & deserializing it myself which seems to be the only way, thanks!0