hxhb / blog-comments

https://imzlp.com and https://zhalipeng.com is my blog.
1 stars 0 forks source link

posts/11515/ #97

Open hxhb opened 6 years ago

hxhb commented 6 years ago

https://imzlp.com/posts/11515/

vgvgvvv commented 5 years ago

不错 查文档方便很多

hxhb commented 5 years ago

@vgvgvvv 不错 查文档方便很多

UE的在线API搜索做的太差了。

bitzhangmo commented 5 years ago

hyq5436 commented 4 years ago

你好,请教一个问题,我在查阅api文档时,发现WebSockets模块中

C:\Program Files\Epic Games\UE_4.24\Engine\Source\Runtime\Online\WebSockets\Public\WebSocketsModule.h

宏定义部分的api文档上面没有

#if WITH_WEBSOCKETS
    /**
     * Instantiates a new web socket for the current platform
     *
     * @param Url The URL to which to connect; this should be the URL to which the WebSocket server will respond.
     * @param Protocols a list of protocols the client will handle.
     * @return new IWebSocket instance
     */
    virtual TSharedRef<IWebSocket> CreateWebSocket(const FString& Url, const TArray<FString>& Protocols, const TMap<FString, FString>& UpgradeHeaders = TMap<FString, FString>());

    /**
     * Instantiates a new web socket for the current platform
     *
     * @param Url The URL to which to connect; this should be the URL to which the WebSocket server will respond.
     * @param Protocol an optional sub-protocol. If missing, an empty string is assumed.
     * @return new IWebSocket instance
     */
    virtual TSharedRef<IWebSocket> CreateWebSocket(const FString& Url, const FString& Protocol = FString(), const TMap<FString, FString>& UpgradeHeaders = TMap<FString, FString>());
#endif // #if WITH_WEBSOCKETS

官方在线的api文档里面也没有说明,请问这个该如何支持呢

hxhb commented 4 years ago

@hyq5436 这种UE本身没有提供文档支持的API没办法通过文章里的方式生成索引的,可以尝试使用doxygen从代码生成文档。

hyq5436 commented 4 years ago

好的,谢谢