set_type_for_nick


Description:

public static Type set_type_for_nick (string nick, Type type)

Assigns an object type to a given nickname.

If the nickname already exists, then it reassigns it to a new object type.

Parameters:

nick

The nickname for the object type

type

The object type

Returns:

If the nick was previously assigned, the old type is returned. Otherwise, NONE.