19 lines
337 B
Go
19 lines
337 B
Go
package data
|
|
|
|
import (
|
|
"code.haedhutner.dev/mvv/LastMUD/internal/ecs"
|
|
)
|
|
|
|
type ContentsComponent struct {
|
|
Contents []byte
|
|
}
|
|
|
|
func (cc ContentsComponent) Type() ecs.ComponentType {
|
|
return TypeContents
|
|
}
|
|
|
|
type CloseConnectionComponent struct{}
|
|
|
|
func (cc CloseConnectionComponent) Type() ecs.ComponentType {
|
|
return TypeCloseConnection
|
|
}
|