基本上,我不太了解C++
,而且我一直在尝试从github上的friendSmasher sample project 实施排行榜代码。在搜索了一些相关帖子后,我发现this post建议创建一个Objective-C
类来管理数据。以下是该项目的相关代码。如何制作一个Objective-c类来管理数据?
struct LeaderboardboardInstance
{
System::Sprite* pStubSprite;
UILabel *pFriendName;
UILabel *pFriendScore;
System::TextureResource* pUserTexture;
System::Sprite* pUserSprite;
};
另外,我认为System::Sprite* abc
和其他System
调用是C++
个库,并且想知道我应该使用的Objective-C
中的等价类。