func (self LeaveEvent) IsFor(receiver *database.Character) bool { return receiver.GetRoomId() == self.Room.GetId() && receiver.GetId() != self.Character.GetId() }
func (self RoomUpdateEvent) IsFor(receiver *database.Character) bool { return receiver.GetRoomId() == self.Room.GetId() }
func (self SayEvent) IsFor(receiver *database.Character) bool { return receiver.GetRoomId() == self.Character.GetRoomId() }