2025-06-28 11:24:06 +03:00
|
|
|
package data
|
|
|
|
|
|
|
|
import "code.haedhutner.dev/mvv/LastMUD/internal/ecs"
|
|
|
|
|
|
|
|
type AccountComponent struct {
|
|
|
|
Account ecs.Entity
|
|
|
|
}
|
|
|
|
|
|
|
|
func (ac AccountComponent) Type() ecs.ComponentType {
|
|
|
|
return TypeAccount
|
|
|
|
}
|
|
|
|
|
|
|
|
type PasswordComponent struct {
|
2025-06-30 08:40:15 +03:00
|
|
|
EncryptedPassword []byte
|
2025-06-28 11:24:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func (pc PasswordComponent) Type() ecs.ComponentType {
|
|
|
|
return TypePassword
|
|
|
|
}
|