//
// $Id: CrowdClient.java,v 1.8 2002/03/05 05:33:25 mdb Exp $

package com.threerings.crowd.server;

import com.threerings.presents.server.PresentsClient;

/**
 * The crowd client extends the presents client but doesn't really do
 * anything at present. It exists mainly so that implementation systems
 * will extend it and ensure that we have the option of adding
 * functionality here in the future.
 */
public class CrowdClient extends PresentsClient
{
}

//
// $Id: CrowdClient.java,v 1.9 2002/09/17 01:23:09 mdb Exp $

package com.threerings.crowd.server;

import com.threerings.presents.server.PresentsClient;

import com.threerings.crowd.data.BodyObject;

/**
 * The crowd client extends the presents client but doesn't really do
 * anything at present. It exists mainly so that implementation systems
 * will extend it and ensure that we have the option of adding
 * functionality here in the future.
 */
public class CrowdClient extends PresentsClient
{
    // documentation inherited
    public void setUsername (String username)
    {
        super.setUsername(username);

        // update the username in our body object
        ((BodyObject)_clobj).setUsername(username);
    }
}

Update the username in the body object when it is changed in the client.
Update the username in the body object when it is changed in the client.


git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@1686 542714f4-19e9-0310-aa3c-eee0fc999fb1
