func Logout(character types.PC) { character.SetOnline(false) events.Broadcast(events.LogoutEvent{Character: character}) }
func Login(character types.PC) { character.SetOnline(true) events.Broadcast(events.LoginEvent{Character: character}) }