TSharedPtr<const FUniqueNetId> FOnlineIdentityAmazon::CreateUniquePlayerId(uint8* Bytes, int32 Size) { if (Bytes != NULL && Size > 0) { FString StrId(Size, (TCHAR*)Bytes); return MakeShareable(new FUniqueNetIdString(StrId)); } return NULL; }
TSharedPtr<const FUniqueNetId> FOnlineIdentityGooglePlay::CreateUniquePlayerId(uint8* Bytes, int32 Size) { if( Bytes && Size == sizeof(uint64) ) { int32 StrLen = FCString::Strlen((TCHAR*)Bytes); if (StrLen > 0) { FString StrId((TCHAR*)Bytes); return MakeShareable(new FUniqueNetIdString(StrId)); } } return NULL; }
//-------------------------------------------------------------------- // //-------------------------------------------------------------------- StrId GroupBox::staticGetControlType() { return StrId("GroupBox"); }
//-------------------------------------------------------------------- // //-------------------------------------------------------------------- StrId Button::staticGetControlType() { return StrId("Button"); }
//-------------------------------------------------------------------- // //-------------------------------------------------------------------- StrId CheckBox::staticGetControlType() { return StrId("CheckBox"); }