示例#1
0
        public static ImageSource?GetImage(this LuminaData self, int imageId)
        {
            TexFile?tex = self.GetIcon(imageId);

            if (tex == null)
            {
                return(null);
            }

            return(tex.GetImage());
        }
示例#2
0
        public static ImageSource?GetImage(this LuminaData self, int imageId)
        {
            TexFile?tex = self.GetIcon(imageId);

            return(tex !.GetImage());
        }