message

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2019 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const TypeMapLoaded = event.MessageType("MapLoaded")
View Source
const TypeMapUnloaded = event.MessageType("MapUnloaded")
View Source
const TypeMaterialLoaded = event.MessageType("MaterialLoaded")
View Source
const TypeMaterialUnloaded = event.MessageType("MaterialUnloaded")
View Source
const TypeModelLoaded = event.MessageType("ModelLoaded")
View Source
const TypeModelUnloaded = event.MessageType("ModelUnloaded")
View Source
const TypeTextureLoaded = event.MessageType("TextureLoaded")
View Source
const TypeTextureUnloaded = event.MessageType("TextureUnloaded")

Variables

This section is empty.

Functions

func LoadedMap

func LoadedMap(world *model.Bsp) event.IMessage

func LoadedMaterial

func LoadedMaterial(mat material.IMaterial) event.IMessage

func LoadedModel

func LoadedModel(mod *model.Model) event.IMessage

func LoadedTexture

func LoadedTexture(tex texture.ITexture) event.IMessage

func UnloadedMap

func UnloadedMap(world *model.Bsp) event.IMessage

func UnloadedMaterial

func UnloadedMaterial(mat material.IMaterial) event.IMessage

func UnloadedModel

func UnloadedModel(mod *model.Model) event.IMessage

func UnloadedTexture

func UnloadedTexture(tex texture.ITexture) event.IMessage

Types

type MapLoaded

type MapLoaded struct {
	event.Message
	Resource *model.Bsp
}

func (*MapLoaded) Type

func (message *MapLoaded) Type() event.MessageType

type MapUnloaded

type MapUnloaded struct {
	event.Message
	Resource *model.Bsp
}

func (*MapUnloaded) Type

func (message *MapUnloaded) Type() event.MessageType

type MaterialLoaded

type MaterialLoaded struct {
	event.Message
	Resource material.IMaterial
}

func (*MaterialLoaded) Type

func (message *MaterialLoaded) Type() event.MessageType

type MaterialUnloaded

type MaterialUnloaded struct {
	event.Message
	Resource material.IMaterial
}

func (*MaterialUnloaded) Type

func (message *MaterialUnloaded) Type() event.MessageType

type PropLoaded

type PropLoaded struct {
	event.Message
	Resource *model.Model
}

func (*PropLoaded) Type

func (message *PropLoaded) Type() event.MessageType

type PropUnloaded

type PropUnloaded struct {
	event.Message
	Resource *model.Model
}

func (*PropUnloaded) Type

func (message *PropUnloaded) Type() event.MessageType

type TextureLoaded

type TextureLoaded struct {
	event.Message
	Resource texture.ITexture
}

func (*TextureLoaded) Type

func (message *TextureLoaded) Type() event.MessageType

type TextureUnloaded

type TextureUnloaded struct {
	event.Message
	Resource texture.ITexture
}

func (*TextureUnloaded) Type

func (message *TextureUnloaded) Type() event.MessageType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL