public override Legacy_UnityImage GetUnityImage( Color?backgroundColor = null, string imageIdentifier = null, Guid?imageOwnerId = null, string title = null, string header = null, int?voteCount = null, Legacy_UnityImageVoteRevealOptions voteRevealOptions = null) { Legacy_UnityImage baseImage = base.GetUnityImage(backgroundColor, imageIdentifier, imageOwnerId, title, header, voteCount, voteRevealOptions); baseImage.Base64Pngs = new StaticAccessor <IReadOnlyList <string> > { Value = UserDrawings.Select(drawing => drawing.Drawing).ToList().AsReadOnly() }; return(baseImage); }
public override Legacy_UnityImage GetUnityImage( Color?backgroundColor = null, string imageIdentifier = null, Guid?imageOwnerId = null, string title = null, string header = null, int?voteCount = null, Legacy_UnityImageVoteRevealOptions voteRevealOptions = null) { Legacy_UnityImage baseImage = base.GetUnityImage(backgroundColor, imageIdentifier, imageOwnerId, title, header, voteCount, voteRevealOptions); baseImage.Base64Pngs = new StaticAccessor <IReadOnlyList <string> > { Value = GetOrderedDrawings() }; baseImage.SpriteGridWidth = new StaticAccessor <int?> { Value = 1 }; baseImage.SpriteGridHeight = new StaticAccessor <int?> { Value = 3 }; return(baseImage); }