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;
}
Example #3
0
//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
StrId GroupBox::staticGetControlType()
{
    return StrId("GroupBox");
}
Example #4
0
//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
StrId Button::staticGetControlType() 
{ 
    return StrId("Button");
}
Example #5
0
//--------------------------------------------------------------------
//
//--------------------------------------------------------------------
StrId CheckBox::staticGetControlType() 
{ 
    return StrId("CheckBox");
}