-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
3,466 additions
and
8 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@page "/menja" | ||
@inject IStringLocalizer<MenjaLocalization> Localizer | ||
|
||
<GameMenjaPaper /> | ||
|
||
@code | ||
{ | ||
protected override async Task OnInitializedAsync() | ||
{ | ||
AppCenterService.TrackEvent("Game-Menja", "JoinGame", "Joined"); | ||
|
||
HelperPath.Path = await Location.GetPathname(); | ||
|
||
await Task.Delay(DelayValue.Initialize); | ||
|
||
await Include.StylesheetProtected("css/game/menja/style.css", HelperPath.Path); | ||
|
||
await GetRender(); | ||
} | ||
|
||
private async Task GetRender() | ||
{ | ||
await Task.Delay(DelayValue.Render); | ||
|
||
await Include.ScriptProtected("js/game/menja/script.js", HelperPath.Path); | ||
|
||
await Task.Delay(DelayValue.Localization); | ||
|
||
await Interop.Call("SetLocalization", Localizer["NewScore"].Value, Localizer["HighScore"].Value, Localizer["LiveScore"].Value, Localizer["CubeSmash"].Value); | ||
} | ||
} |
189 changes: 189 additions & 0 deletions
189
src/GamePortal/Resources/Languages/Game/Menja/MenjaLocalization.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.