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