At least in the Unity SDK, GSData.GetIntList returns a list of non-nullable ints, unlike GetInt which is a nullable int. I would prefer to have a list of nullable ints. I can see why changing that would mess up existing Unity implementations, but, are there any plans of changing that in the future?
Best Answer
C
Customer Support
said
over 6 years ago
Hi Rich,
Apologies for the late response, at present their are no plans to implement a GetIntList() Method that can return non-nullable ints, this may change in later releases in the Unity SDK.
Apologies for the late response, at present their are no plans to implement a GetIntList() Method that can return non-nullable ints, this may change in later releases in the Unity SDK.
Can I ask what you are trying to do?
Thanks,
- Tony.
R
Rich Joslin
said
over 6 years ago
I have a grid with 9 slots, like a card hand in a card game. The cards in this case are numbers, and any number is usable (to an extent). Some card slots need to be empty, but the length of the card hand needs to stay the same, thus where I would use a null in place of a number. In my case, there is a limit on how big a number can be, so I am fudging by just treating 999 as if it were null. It's icky but it works. ;-)
Rich Joslin
At least in the Unity SDK, GSData.GetIntList returns a list of non-nullable ints, unlike GetInt which is a nullable int. I would prefer to have a list of nullable ints. I can see why changing that would mess up existing Unity implementations, but, are there any plans of changing that in the future?
Hi Rich,
Apologies for the late response, at present their are no plans to implement a GetIntList() Method that can return non-nullable ints, this may change in later releases in the Unity SDK.
Can I ask what you are trying to do?
Thanks,
- Tony.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hi Rich,
Apologies for the late response, at present their are no plans to implement a GetIntList() Method that can return non-nullable ints, this may change in later releases in the Unity SDK.
Can I ask what you are trying to do?
Thanks,
- Tony.
Rich Joslin
I have a grid with 9 slots, like a card hand in a card game. The cards in this case are numbers, and any number is usable (to an extent). Some card slots need to be empty, but the length of the card hand needs to stay the same, thus where I would use a null in place of a number. In my case, there is a limit on how big a number can be, so I am fudging by just treating 999 as if it were null. It's icky but it works. ;-)
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics