- Added TokenRing
- Specify override first on overridden methods. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4170 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -629,7 +629,7 @@ public class ChatDirector extends BasicDirector
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public override function clientDidLogon (event :ClientEvent) :void
|
||||
override public function clientDidLogon (event :ClientEvent) :void
|
||||
{
|
||||
super.clientDidLogon(event);
|
||||
|
||||
@@ -639,7 +639,7 @@ public class ChatDirector extends BasicDirector
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public override function clientObjectDidChange (event :ClientEvent) :void
|
||||
override public function clientObjectDidChange (event :ClientEvent) :void
|
||||
{
|
||||
super.clientObjectDidChange(event);
|
||||
|
||||
@@ -652,7 +652,7 @@ public class ChatDirector extends BasicDirector
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
public override function clientDidLogoff (event :ClientEvent) :void
|
||||
override public function clientDidLogoff (event :ClientEvent) :void
|
||||
{
|
||||
super.clientDidLogoff(event);
|
||||
|
||||
@@ -960,7 +960,7 @@ public class ChatDirector extends BasicDirector
|
||||
}
|
||||
|
||||
// documentation inherited from interface
|
||||
protected override function fetchServices (client :Client) :void
|
||||
override protected function fetchServices (client :Client) :void
|
||||
{
|
||||
// get a handle on our chat service
|
||||
_cservice = (client.requireService(ChatService) as ChatService);
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.threerings.crowd.chat.data.ChatCodes;
|
||||
|
||||
public class ClearHandler extends CommandHandler
|
||||
{
|
||||
public override function handleCommand (
|
||||
override public function handleCommand (
|
||||
ctx :CrowdContext, speakSvc :SpeakService,
|
||||
cmd :String, args :String, history :Array) :String
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.threerings.crowd.chat.data.ChatCodes;
|
||||
|
||||
public class EmoteHandler extends CommandHandler
|
||||
{
|
||||
public override function handleCommand (
|
||||
override public function handleCommand (
|
||||
ctx :CrowdContext, speakSvc :SpeakService,
|
||||
cmd :String, args :String, history :Array) :String
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ import com.threerings.crowd.chat.data.ChatCodes;
|
||||
|
||||
public class HelpHandler extends CommandHandler
|
||||
{
|
||||
public override function handleCommand (
|
||||
override public function handleCommand (
|
||||
ctx :CrowdContext, speakSvc :SpeakService,
|
||||
cmd :String, args :String, history :Array) :String
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.threerings.crowd.chat.data.ChatCodes;
|
||||
|
||||
public class SpeakHandler extends CommandHandler
|
||||
{
|
||||
public override function handleCommand (
|
||||
override public function handleCommand (
|
||||
ctx :CrowdContext, speakSvc :SpeakService,
|
||||
cmd :String, args :String, history :Array) :String
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.threerings.crowd.chat.data.ChatCodes;
|
||||
|
||||
public class TellHandler extends CommandHandler
|
||||
{
|
||||
public override function handleCommand (
|
||||
override public function handleCommand (
|
||||
ctx :CrowdContext, speakSvc :SpeakService,
|
||||
cmd :String, args :String, history :Array) :String
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.threerings.crowd.chat.data.ChatCodes;
|
||||
|
||||
public class ThinkHandler extends CommandHandler
|
||||
{
|
||||
public override function handleCommand (
|
||||
override public function handleCommand (
|
||||
ctx :CrowdContext, speakSvc :SpeakService,
|
||||
cmd :String, args :String, history :Array) :String
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ public class ChatMarshaller_TellMarshaller extends InvocationMarshaller_Listener
|
||||
public static const TELL_SUCCEEDED :int = 1;
|
||||
|
||||
// documentation inherited
|
||||
public override function dispatchResponse (methodId :int, args :Array) :void
|
||||
override public function dispatchResponse (methodId :int, args :Array) :void
|
||||
{
|
||||
switch (methodId) {
|
||||
case TELL_SUCCEEDED:
|
||||
|
||||
@@ -51,13 +51,13 @@ public class SystemMessage extends ChatMessage
|
||||
this.attentionLevel = attLevel;
|
||||
}
|
||||
|
||||
public override function readObject (ins :ObjectInputStream) :void
|
||||
override public function readObject (ins :ObjectInputStream) :void
|
||||
{
|
||||
super.readObject(ins);
|
||||
attentionLevel = ins.readByte();
|
||||
}
|
||||
|
||||
public override function writeObject (out :ObjectOutputStream) :void
|
||||
override public function writeObject (out :ObjectOutputStream) :void
|
||||
{
|
||||
super.writeObject(out);
|
||||
out.writeByte(attentionLevel);
|
||||
|
||||
@@ -37,14 +37,14 @@ public class UserMessage extends ChatMessage
|
||||
/** The mode of the message. @see ChatCodes.DEFAULT_MODE */
|
||||
public var mode :int;
|
||||
|
||||
public override function readObject (ins :ObjectInputStream) :void
|
||||
override public function readObject (ins :ObjectInputStream) :void
|
||||
{
|
||||
super.readObject(ins);
|
||||
speaker = (ins.readObject() as Name);
|
||||
mode = ins.readByte();
|
||||
}
|
||||
|
||||
public override function writeObject (out :ObjectOutputStream) :void
|
||||
override public function writeObject (out :ObjectOutputStream) :void
|
||||
{
|
||||
super.writeObject(out);
|
||||
out.writeObject(speaker);
|
||||
|
||||
@@ -30,13 +30,13 @@ public class UserSystemMessage extends SystemMessage
|
||||
this.speaker = sender;
|
||||
}
|
||||
|
||||
public override function readObject (ins :ObjectInputStream) :void
|
||||
override public function readObject (ins :ObjectInputStream) :void
|
||||
{
|
||||
super.readObject(ins);
|
||||
speaker = (ins.readObject() as Name);
|
||||
}
|
||||
|
||||
public override function writeObject (out :ObjectOutputStream) :void
|
||||
override public function writeObject (out :ObjectOutputStream) :void
|
||||
{
|
||||
super.writeObject(out);
|
||||
out.writeObject(speaker);
|
||||
|
||||
Reference in New Issue
Block a user