func handleClientLeft(
	conn net.Conn,
	connection_data *structs.ConnData,
	packet_data *structs.PacketData,
	stringParts []string,
) error {
	// TODO: Add it to event system
	logger.Debug(strings.Join(stringParts, " "))
	return nil
}
func RPCFriendsGetProfileDataMessage(conn net.Conn, connection_data *structs.ConnData, packet_data *structs.PacketData) error {
	msg := new(protocol.FriendsGetProfileDataMessage)
	err := proto.Unmarshal(packet_data.Content, msg)
	if err != nil {
		return err
	}

	logger.Debug(msg.GetProfileType())

	return nil
}
Beispiel #3
0
func AddDelayedBan(npid uint64, reason int64, guid int64) error {
	logger.Debug("F**k the police coming straight from the underground")
	logger.Debug("A young n***a got it bad cause I'm brown")
	return nil
}