- Update vilya to snapshot narya and make necessary changes for it to build
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.threerings</groupId>
|
<groupId>com.threerings</groupId>
|
||||||
<artifactId>narya</artifactId>
|
<artifactId>narya</artifactId>
|
||||||
<version>1.14</version>
|
<version>1.15-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.threerings</groupId>
|
<groupId>com.threerings</groupId>
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import com.threerings.presents.dobj.DObject;
|
|||||||
import com.threerings.presents.dobj.OidList;
|
import com.threerings.presents.dobj.OidList;
|
||||||
|
|
||||||
import com.threerings.crowd.chat.data.SpeakObject;
|
import com.threerings.crowd.chat.data.SpeakObject;
|
||||||
|
import com.threerings.crowd.chat.data.UserMessage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to dispatch chat in clusters.
|
* Used to dispatch chat in clusters.
|
||||||
@@ -48,10 +49,16 @@ public class ClusterObject extends DObject
|
|||||||
public void applyToListeners (ListenerOp op)
|
public void applyToListeners (ListenerOp op)
|
||||||
{
|
{
|
||||||
for (int ii = 0, ll = occupants.size(); ii < ll; ii++) {
|
for (int ii = 0, ll = occupants.size(); ii < ll; ii++) {
|
||||||
op.apply(occupants.get(ii));
|
op.apply(this, occupants.get(ii));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// from SpeakObject
|
||||||
|
public String getChatIdentifier (UserMessage msg)
|
||||||
|
{
|
||||||
|
return SpeakObject.DEFAULT_IDENTIFIER;
|
||||||
|
}
|
||||||
|
|
||||||
// AUTO-GENERATED: METHODS START
|
// AUTO-GENERATED: METHODS START
|
||||||
/**
|
/**
|
||||||
* Requests that <code>oid</code> be added to the <code>occupants</code>
|
* Requests that <code>oid</code> be added to the <code>occupants</code>
|
||||||
|
|||||||
Reference in New Issue
Block a user