invertika_game.Game.GameState.sayTo C# (CSharp) Method

sayTo() static private method

static private sayTo ( Actor destination, Actor source, string text ) : void
destination Actor
source Actor
text string
return void
        static void sayTo(Actor destination, Actor source, string text)
        {
            //if (destination.getType() != OBJECT_CHARACTER)
            //    return; //only characters will read it anyway

            //MessageOut msg(GPMSG_SAY);
            //if (source == NULL)
            //{
            //    msg.writeInt16(0);
            //}
            //else if (!source.canMove())
            //{
            //    msg.writeInt16(65535);
            //}
            //else
            //{
            //    msg.writeInt16(static_cast< Actor * >(source).getPublicID());
            //}
            //msg.writeString(text);

            //gameHandler.sendTo(static_cast< Character * >(destination), msg);
        }