Exemple #1
0
 void OnServerDismissChanceCard(AnimationPb animation)
 {
     // Server dismissed the chance card, not need to respond to the
     // PromptConfirmationRequest anymore.
     PromptConfirmationRequest = null;
     EventBus.AutomaticallyDismissForeground?.Invoke();
 }
Exemple #2
0
 protected override void OnDismiss()
 {
     if (PromptConfirmationRequest != null)
     {
         Prisel.Protobuf.Packet request = PromptConfirmationRequest;
         PromptConfirmationRequest = null;
         EventBus.ConfirmChance?.Invoke(request);
     }
 }
Exemple #3
0
 void OnPromptChanceConfirmation(Prisel.Protobuf.Packet packet)
 {
     SetTouchDismissible(true);
     PromptConfirmationRequest = packet;
 }