Beispiel #1
0
 protected override void OnParametersSet()
 {
     if (Player != null)
     {
         clan     = Player.Clan;
         clanRole = Player.ClanRole;
     }
 }
Beispiel #2
0
 protected override async Task OnInitializedAsync()
 {
     session = AuthService.GetSession();
     if (session.UserId != null)
     {
         clan     = Player.Clan;
         clanRole = Player.ClanRole;
         await InvokeAsync(StateHasChanged);
     }
 }