Change how we link classes that aren't otherwise linked.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5462 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -66,6 +66,9 @@ import com.threerings.crowd.chat.data.UserSystemMessage;
|
|||||||
public class ChatDirector extends BasicDirector
|
public class ChatDirector extends BasicDirector
|
||||||
implements LocationObserver, MessageListener
|
implements LocationObserver, MessageListener
|
||||||
{
|
{
|
||||||
|
// statically reference classes we require
|
||||||
|
ChatMarshaller;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a chat director and initializes it with the supplied context. The chat director will
|
* Creates a chat director and initializes it with the supplied context. The chat director will
|
||||||
* register itself as a location observer so that it can automatically process place
|
* register itself as a location observer so that it can automatically process place
|
||||||
@@ -99,9 +102,6 @@ public class ChatDirector extends BasicDirector
|
|||||||
registerCommandHandler(msg, "think", new ThinkHandler());
|
registerCommandHandler(msg, "think", new ThinkHandler());
|
||||||
// registerCommandHandler(msg, "tell", new TellHandler());
|
// registerCommandHandler(msg, "tell", new TellHandler());
|
||||||
registerCommandHandler(msg, "broadcast", new BroadcastHandler());
|
registerCommandHandler(msg, "broadcast", new BroadcastHandler());
|
||||||
|
|
||||||
// ensure that the compiler includes these necessary symbols
|
|
||||||
var i :int = ChatMarshaller.AWAY;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -34,13 +34,13 @@ import com.threerings.crowd.data.CrowdPermissionPolicy;
|
|||||||
*/
|
*/
|
||||||
public class CrowdClient extends Client
|
public class CrowdClient extends Client
|
||||||
{
|
{
|
||||||
|
// statically reference classes we require
|
||||||
|
BodyMarshaller;
|
||||||
|
CrowdPermissionPolicy;
|
||||||
|
|
||||||
public function CrowdClient (creds :Credentials)
|
public function CrowdClient (creds :Credentials)
|
||||||
{
|
{
|
||||||
super(creds);
|
super(creds);
|
||||||
|
|
||||||
// ensure that the compiler includes these necessary symbols
|
|
||||||
var i :int = BodyMarshaller.SET_IDLE;
|
|
||||||
var c :Class = CrowdPermissionPolicy;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,7 +52,8 @@ import com.threerings.crowd.util.CrowdContext;
|
|||||||
public class LocationDirector extends BasicDirector
|
public class LocationDirector extends BasicDirector
|
||||||
implements Subscriber, LocationReceiver
|
implements Subscriber, LocationReceiver
|
||||||
{
|
{
|
||||||
private static const log :Log = Log.getLog(LocationDirector);
|
// statically reference classes we require
|
||||||
|
LocationMarshaller;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a location director which will configure itself for operation using the supplied
|
* Constructs a location director which will configure itself for operation using the supplied
|
||||||
@@ -67,9 +68,6 @@ public class LocationDirector extends BasicDirector
|
|||||||
|
|
||||||
// register for location notifications
|
// register for location notifications
|
||||||
_cctx.getClient().getInvocationDirector().registerReceiver(new LocationDecoder(this));
|
_cctx.getClient().getInvocationDirector().registerReceiver(new LocationDecoder(this));
|
||||||
|
|
||||||
// ensure that the compiler includes these necessary symbols
|
|
||||||
var i :int = LocationMarshaller.LEAVE_PLACE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -540,6 +538,8 @@ public class LocationDirector extends BasicDirector
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected const log :Log = Log.getLog(this);
|
||||||
|
|
||||||
/** The context through which we access needed services. */
|
/** The context through which we access needed services. */
|
||||||
protected var _cctx :CrowdContext;
|
protected var _cctx :CrowdContext;
|
||||||
|
|
||||||
|
|||||||
@@ -54,12 +54,12 @@ public class Client extends EventDispatcher
|
|||||||
|
|
||||||
private static const log :Log = Log.getLog(Client);
|
private static const log :Log = Log.getLog(Client);
|
||||||
|
|
||||||
|
// statically reference classes we require
|
||||||
|
TimeBaseMarshaller;
|
||||||
|
|
||||||
public function Client (creds :Credentials)
|
public function Client (creds :Credentials)
|
||||||
{
|
{
|
||||||
_creds = creds;
|
_creds = creds;
|
||||||
|
|
||||||
// ensure that the compiler includes these necessary symbols
|
|
||||||
var i :int = TimeBaseMarshaller.GET_TIME_OID;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user