public void SelectCharacter(int id)
 {
     _controller.SelectCharacter(id);
     OnCharacterSelected?.Invoke(_controller.SelectedCharacter);
 }
Example #2
0
 void NotifyCharacterSelected() => OnCharacterSelected?.Invoke(SelectedCharacter);
Example #3
0
 public void LaunchSignal(int characterInstanceId)
 {
     OnCharacterSelected?.Invoke(characterInstanceId);
 }
 private void SelectedCharacter(ModObjectReference entityReference)
 {
     GameManager.current.ConsoleWindow.WriteLine($"Selected {entityReference.ToString()}.");
     OnCharacterSelected?.Invoke(entityReference);
 }
 public void SelectCharacter(Character character)
 {
     OnCharacterSelected?.Invoke(character);
 }