@@ -7,6 +7,7 @@ import useBaseUrl from "@docusaurus/useBaseUrl";
77import styles from "./styles.module.css" ;
88import { Feature , FeatureList } from "../Feature" ;
99import ReactPlayer from "react-player" ;
10+ import CodeBlock from "@theme/CodeBlock" ;
1011
1112function Home ( ) {
1213 const context = useDocusaurusContext ( ) ;
@@ -288,21 +289,51 @@ function Home() {
288289 </ p >
289290 </ Feature . Describer >
290291 < Feature . Visual >
291- < a href = "#" target = "_blank" >
292- < img src = "#" className = { classnames ( styles . featureImage ) } />
293- </ a >
292+ < div style = { { marginTop : "4em" } } >
293+ < CodeBlock language = "cpp" >
294+ { `
295+ using namespace ::Redpoint::EOS::Core::Utils;
296+ using namespace ::Redpoint::EOS::Identity;
297+
298+ // Get the handle to the Epic Online Services platform.
299+ auto PlatformHandle = FWorldResolution::GetPlatformHandle(
300+ this->GetWorld());
301+
302+ // Get the identity system.
303+ auto Identity = PlatformHandle->GetSystem<IIdentitySystem>();
304+
305+ // Sign the local player in.
306+ Identity->Login(
307+ FLoginRequest(0 /* User slot a.k.a. controller index. */)
308+ IIdentitySystem::FOnLoginComplete::CreateSPLambda(
309+ this,
310+ [this](FError ErrorCode, FIdentityUserPtr NewUser) {
311+ if (ErrorCode.WasSuccessful())
312+ {
313+ // The user is signed in, and NewUser is valid.
314+ }
315+ }));` . trim ( ) }
316+ </ CodeBlock >
317+ </ div >
294318 </ Feature . Visual >
295319 </ Feature >
296320 < Feature >
297321 < Feature . Describer >
298322 < h2 > Test using play-in-editor</ h2 >
299- < p > ...</ p >
323+ < p >
324+ With EOS Online Framework, there's no need to set up
325+ multiple machines for testing. You can test parties,
326+ multiplayer games, the Epic Games overlay, and all online
327+ features directly from the editor.
328+ </ p >
329+ < p >
330+ Start the Developer Authentication Tool from the editor and
331+ turn on "login-before-PIE", and each play-in-editor window
332+ or standalone game will be automatically signed into an Epic
333+ Games account for testing.
334+ </ p >
300335 </ Feature . Describer >
301- < Feature . Visual >
302- < a href = "#" target = "_blank" >
303- < img src = "#" className = { classnames ( styles . featureImage ) } />
304- </ a >
305- </ Feature . Visual >
336+ < Feature . Visual imageUrl = "img/features/play-in-editor.png" />
306337 </ Feature >
307338 < Feature >
308339 < Feature . Describer >
@@ -328,12 +359,42 @@ function Home() {
328359 < Feature >
329360 < Feature . Describer >
330361 < h2 > Professional support</ h2 >
331- < p > ...</ p >
362+ < p >
363+ If you get stuck, we're here to help. We provide
364+ professional support during Australian business hours, and
365+ can often get a resolution or bug fix to you within a few
366+ days.
367+ </ p >
368+ < p >
369+ To get support for EOS Online Framework, upload your receipt
370+ to our{ " " }
371+ < a href = "https://licensing.redpoint.games/" target = "_blank" >
372+ License Manager
373+ </ a > { " " }
374+ and join{ " " }
375+ < a href = "https://discord.gg/hm7ytagaCc" >
376+ our Discord server
377+ </ a > { " " }
378+ to open a case.
379+ </ p >
332380 </ Feature . Describer >
333381 < Feature . Visual >
334- < a href = "#" target = "_blank" >
335- < img src = "#" className = { classnames ( styles . featureImage ) } />
336- </ a >
382+ < div className = { classnames ( styles . review ) } >
383+ < h3 > ⭐⭐⭐⭐⭐ "Amazing support and product"</ h3 >
384+ < p >
385+ "Discord Support is 10 stars, the developer saved me tons
386+ of time and helped me to get started really quickly.
387+ < br />
388+ < br />
389+ The plugin itself works like a charm. The sample project
390+ provides functionality that you can easily copy paste into
391+ your project and use it as a Subsystem to be able to call
392+ all the EOS APIs.
393+ < br />
394+ < br />
395+ Really recommended."
396+ </ p >
397+ </ div >
337398 </ Feature . Visual >
338399 </ Feature >
339400 </ FeatureList >
0 commit comments