GameEntities.PlayerIntellect.Server_SendMainNotActiveUnitToClients C# (CSharp) Method

Server_SendMainNotActiveUnitToClients() static private method

static private Server_SendMainNotActiveUnitToClients ( IList remoteEntityWorlds ) : void
remoteEntityWorlds IList
return void
        void Server_SendMainNotActiveUnitToClients( IList<RemoteEntityWorld> remoteEntityWorlds )
        {
            SendDataWriter writer = BeginNetworkMessage( remoteEntityWorlds, typeof( PlayerIntellect ),
                (ushort)NetworkMessages.MainNotActiveUnitToClient );
            writer.WriteVariableUInt32( mainNotActiveUnit != null ?
                mainNotActiveUnit.NetworkUIN : (uint)0 );
            EndNetworkMessage();
        }