Skip to content

package editor_embedded_content

import "kaijuengine.com/editor/editor_embedded_content"

Types

EditorContent

struct

type EditorContent struct {
    Pfs *project_file_system.FileSystem

    // Has unexported fields.
}

EditorContent.Cache

func (*EditorContent) Cache(key string, data []byte)

EditorContent.CacheClear

func (*EditorContent) CacheClear()

EditorContent.CacheRemove

func (*EditorContent) CacheRemove(key string)

EditorContent.Close

func (*EditorContent) Close()

EditorContent.Exists

func (e *EditorContent) Exists(key string) bool

EditorContent.IndexProjectContent

func (e *EditorContent) IndexProjectContent(content content_database.CachedContent)

EditorContent.IndexProjectContentIDs

func (e *EditorContent) IndexProjectContentIDs(cache *content_database.Cache, ids []string)

EditorContent.PostWindowCreate

func (a *EditorContent) PostWindowCreate(assets.PostWindowCreateHandle) error

EditorContent.Read

func (e *EditorContent) Read(key string) ([]byte, error)

EditorContent.ReadText

func (e *EditorContent) ReadText(key string) (string, error)

EditorContent.RemoveProjectContentIDs

func (e *EditorContent) RemoveProjectContentIDs(ids []string)

EditorContent.SetProjectContentIndex

func (e *EditorContent) SetProjectContentIndex(contents []content_database.CachedContent)