Putting an Array into a ExitGames::Common::Hashtable

edited July 26 in Native
Hello,

This is for a photon cloud c ++ Android client.

I created a Hashtable like this:

ExitGames::Common::Hashtable data = ExitGames::Common::Hashtable();

I created a JVector like this:

ExitGames::Common::JVector<ExitGames::Common::Hashtable> playerArray;

When I do this:

data.put("key", playerArray);

I get compile errors:

error: no member named 'TypeCode' in 'ExitGames::Common::JVector<ExitGames::Common::Hashtable>'
COMPILE_TIME_ASSERT_TRUE_MSG((IsDerivedFrom<CType, CustomType<CType::TypeCode> >::Is), ERROR_UNSUPPORTED_VALUE_TYPE);

I suspect that a ExitGames::Common:Hashtable doesn’t permit a JVector as a value object. If yes, then how do I put an array into a ExitGames::Common:Hashtable?

Thanks.

Best Answer

Answers

Sign In or Register to comment.