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