SFSError: Unsupport SFS Variable type: Byte
Really????
Why can't I optimize the network traffic by using smaller data types??? It is very frustrating because custom extension requests supports byte and short types
For example I want to add a user variable that can be an int value between 0-3, should I use int or a SFSObject with a byte variable in it?? Which one take more traffic?
[SOLVED] SUPPORTED SFS VARIABLE TYPES
- TryMyGames
- Posts: 59
- Joined: 19 Dec 2016, 22:20
- Location: Moldova, Chisinau
- Contact:
[SOLVED] SUPPORTED SFS VARIABLE TYPES
Last edited by TryMyGames on 01 Jun 2017, 15:28, edited 1 time in total.
Re: SUPPORTED SFS VARIABLE TYPES
You can use an SFSObject with whatever values/types you need.
Cheers
Cheers
- TryMyGames
- Posts: 59
- Joined: 19 Dec 2016, 22:20
- Location: Moldova, Chisinau
- Contact:
Re: SUPPORTED SFS VARIABLE TYPES
TryMyGames wrote:For example I want to add a user variable that can be an int value between 0-3, should I use int or a SFSObject with a byte variable in it?? Which one take more traffic?
If int takes 4 bytes, then how much will take a SFSObject with a byte int it?
- TryMyGames
- Posts: 59
- Joined: 19 Dec 2016, 22:20
- Location: Moldova, Chisinau
- Contact:
Re: SUPPORTED SFS VARIABLE TYPES
Lapo wrote:You can use an SFSObject with whatever values/types you need.
Cheers
I asked another question Thanks.
Re: SUPPORTED SFS VARIABLE TYPES
You can dump the SFSObject via getDump() and getHexDump() and count the bytes.
Who is online
Users browsing this forum: No registered users and 89 guests