Exemplo n.º 1
0
 protected void OnGotCharacterCreatorImagesEvent(GotCharacterCreatorImagesEventArgs ev)
 {
     if (GotCharacterCreatorImagesEvent != null)
     {
         GotCharacterCreatorImagesEvent(ev);
     }
 }
Exemplo n.º 2
0
        void ServerHelper_GotCharacterCreatorImagesEvent(GotCharacterCreatorImagesEventArgs ev)
        {
            if (GUIWindowManager.ActiveWindow != Constants.WindowIDs.CHARACTERS)
            {
                return;
            }
            int aid = ev.AnimeID;

            if (mainAnime == null || aid != mainAnime.AnimeID)
            {
                return;
            }
            ClearGUIProperty(GuiProperty.Character_Status);
            ShowCharacters();
        }