Exemple #1
0
            public static List <ActionTimeline> GetStatusEmotes()
            {
                CreatureMenuBoardTool creatureMenuBoardTool = SingletonBehaviour <BoardToolManager> .Instance.GetTool <CreatureMenuBoardTool>();

                if (creatureMenuBoardTool == null)
                {
                    return(new List <ActionTimeline>());
                }

                return(ReflectionHelper.GetNonPublicField <List <ActionTimeline> >(creatureMenuBoardTool, "_statusEmotes"));
            }
Exemple #2
0
            public static Creature GetCreatureAtMenu()
            {
                CreatureMenuBoardTool creatureMenuBoardTool = SingletonBehaviour <BoardToolManager> .Instance.GetTool <CreatureMenuBoardTool>();

                if (creatureMenuBoardTool != null)
                {
                    return(ReflectionHelper.GetNonPublicField <Creature>(creatureMenuBoardTool, "_selectedCreature"));
                }
                ;
                return(null);
            }